My Profile Photo Title

Thoughts about DevOps and automation from a Windows guy


How to Write PowerShell for Speed feature image

How to Write PowerShell for Speed

Sometimes speed and efficiency are not that important when writing quick and dirty PowerShell scripts. At other times they are critical. I’ll highlight some of the common mistakes people make when writing PowerShell scripts that cause it to slow to a crawl.

How you write PowerShell can have a significant impact on performance. What seems innocuous when executed once can have a huge impact when executed hundreds or thousands of times in a loop or as part of a bigger script run against many machines.

Let’s go over two of the most common reasons your PowerShell script may be running slow.

Read more at 4sysops.com

Show your support

Become a GitHub Sponsor
Become a Patron

Like books? Check these out!

You might also like:

Sharing is caring