News

First, take time to learn how to use the PowerShell console interactively. Because there is no difference between running a PowerShell script and entering the commands manually at a prompt, if you don ...
Let’s add some simple code to make the function do something. For example, you can use the Write-Host command to output text to the PowerShell console: function Do-Something { Write-Host ‘I did ...
Bottom line: if you are serious about automating your Hyper-V farm, and you don’t want to go the System Center Virtual Machine Manager route or write your own code, then these functions are for you.
For serious work in the console, few utilities (if any) can match the prowess of Take Command. If you use the command line regularly, it's a good investment.
I'd like to write to the Application event log whether or not that file exists. I'll use the Write-EventLog cmdlet for this. To do so, I'll first need to figure out all of the parameters this cmdlet ...
The latest edition of PowerShell also lets administrators manage multiple server roles from a single, central console. “PowerShell is the way to go if you need to manage hundreds or thousands of ...