Over the last few years, I have created a vast library of PowerShell scripts that I use to keep my servers healthy. These scripts do everything from monitoring disk health to helping me to reclaim ...
If you want to run Windows PowerShell scripts first at user logon, logoff, startup, and shutdown, follow these steps. Using the Local Group Policy Editor and Registry Editor, you can prioritize ...
For many users, Windows isn't ready to use out of the box, and one of the most frustrating parts isn't the actual install itself, but everything that comes after. Fixing the bad defaults, renaming the ...
In this post, we will see how to use PowerShell Scripts to create & add Shutdown, Restart, Logoff, Switch User, Hibernation Tiles to Windows 8.1/8 Start Menu/Screen. As you know Windows 8 has a Start ...
I advise against it. But if you must use a logon script to authenticate, here's how to get it done with PowerShell. In my PowerShell training classes or at conferences I inevitably face the question ...
Many people jump into PowerShell and immediately think they need to start writing scripts. That couldn't be further from the truth, and actually I believe that can be counter-productive. Without a ...
We get it. From the outside, PowerShell can appear to be an incredibly powerful tool that only the most hardened IT pros can wield. But that just is not the case. Petri Paavola and his 20-plus years ...
In the 12 years since Microsoft released PowerShell, it has become the de facto tool to dependably administer servers. In August of 2016, it was made open-source and cross-platform with the ...
Setting up a new Windows 11 machine can be complicated, and when issues arise somewhat frequently, it can waste a lot of time in certain scenarios. It's common these days to have your life based on ...
I use Powershell's "custom-object" command to create custom objects with properties I want to save. But custom-object applies only to one variable. Is it possible to create a custom class, like in ...