How to reset file or folder permissions with Powershell

How to reset file or folder permissions with Powershell

Sometimes you have to face situations where users have manually added additional permissions on files or folders and/or removed inheritance. And now all you want is to make everything clean again by having the same permissions everywhere from the top of the tree to the last leaf. My favorite tool Though you can achieve all … Continue reading How to reset file or folder permissions with Powershell

“New” audit Logon/Logoff and other event IDs

When you are searching Logon or Logoff event ID numbers, you may find a lot of old sites talking about ID 528 and ID 538. However, since Windows 7 and Windows Server 2008 R2, these event IDs don't apply anymore and are completely useless for those more recent operating systems. The Advanced Security Audit Policy … Continue reading “New” audit Logon/Logoff and other event IDs

[Solved] Same Windows Update successfully installs again and again

I had a server on which cumulative updates were successfully installing again and again. I thought that maybe the cumulative update of the next month would fix the issue, but unfortunately, this didn't happen. The next cumulative update was successfully installing again and again. After installing updates one by one and restarting after each installation, … Continue reading [Solved] Same Windows Update successfully installs again and again

[Solved] Send-MailMessage : Cannot convert ‘System.Collections.ArrayList’

[Solved] Send-MailMessage : Cannot convert ‘System.Collections.ArrayList’

You may get the following error message: Send-MailMessage : Cannot convert 'System.Collections.ArrayList' to the type 'System.String' required by parameter 'Body'. Specified method is not supported. The reason This error message is really explicit: The body of the mail must be a string and you are giving an array as input. The solution Unfortunately, you cannot … Continue reading [Solved] Send-MailMessage : Cannot convert ‘System.Collections.ArrayList’