Change Modern Windows Event Log settings with PowerShell
I may be late to the party, but I just found the cmlets I need to update the properties of modern Windows event logs. The Limit-EventLog cmdlet only works with ...
I may be late to the party, but I just found the cmlets I need to update the properties of modern Windows event logs. The Limit-EventLog cmdlet only works with ...
I wrote a quick function to convert the AccountExpires attribute from the Long Integer value to a DateTime object or a string object of “!! Never !!”...
Jeffrey Snover has said that all new IDE development is targeting Visual Studio Code. It’s a really nice environment. It also has built-in Git support.
https://blogs.technet.microsoft.com/askpfeplat/2016/11/21/two-ways-to-accept-pipeline-input-in-powershell/
I wrote a script that accepts a comma-separated list of values, and the script worked just fine from the command-line. However, when I tried to configure a sche...
I need to automate the setting of passwords on some Active Directory accounts. Since resetting passwords is also a task that I’m asked to perform with som...
I’ve been banging my head on a problem with a script I’m writing. I want to stop executing an inner loop and resume with the next iteration of an ou...
After a recent upgrade of our print servers, I discovered that the Print Spooler service event logging had been enhanced, and changed enough that some PowerShe...
Closely related to my previous post, this simple script uses a WScript.Network COM object to set the default printer. The comment block is longer than the scrip...
This is my PowerShwell translation of my colleague’s VBScript solution for mapping network printers with a script. For use with Group Policy, it will prob...