Category Archives: PowerShell

Use the other Write- cmdlets

One of the unsung features of PowerShell are the many ways to provide output.  For completely automated script via Scheduled Task or Orchestrator, I go straight to the Event Log now.  But for the majority of scripts you’ll run on … Continue reading

Posted in PowerShell | Leave a comment

Use Native Methods For Huge Performance Gains

Many PowerShell examples, samples and everything generated by PowerGUI use a common structure to filter out desired objects: Get-Something | Where-Object { $_.Name –match “pattern” } This is great for samples and one-off scripts.  It is clear and easy to … Continue reading

Posted in PowerShell | Tagged , | Leave a comment