Trying to make a template of a monitoring script. The script has to do these things: -Check a value every minute. The value can be anything: the size of a file; an entry in a database; the saturation ...
Wouldn't it be cool if PowerShell could automatically write scripts so that you didn't have to? Believe it or not, it is possible. Of course the old saying that if something sounds too good to be true ...
PowerShell scripts are great because they can be used to do almost anything. One of the limitations to PowerShell scripts, however, is that it isn't always practical to give a script to someone who ...
Back in 2008, I wrote a piece called PowerShell Tips and Tricks, which covered the then-relatively new Windows scripting language and some cool things you could do with it. Although PowerShell has ...
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 ...
I ran into a discussion a while back with a collegue that claimed that a lot of clients don't allow us to set up PowerShell scripts for different scheduled maintanence tasks on their servers. I myself ...
PowerShell can save you a lot of time on Windows admin tasks, but to use it effectively you need to understand how it works. Here's a crash course in Windows PowerShell scripting basics to get you ...
Before you can change an ACL, you must get the current one. There are two ways to do this with PowerShell. Learn how to get the current ACL and modify it.