Here is a list of the latest blog posts we have published. You can also visit our Archive to see all tags. By clicking a tag you can further refine your search.
Many scripts load external DLL files to get access to more functionality. Those files can be embedded into scripts as text to remove dependencies.
Appending text to strings using “+=” is convenient but slow. Learn how to do string manipulation without slowing down PowerShell.
The advanced PowerShell Parser turns PowerShell code into detailed tokens. Use them to auto-document, analyze or just find your scripts. You can also perfectly colorize your code.
Traditional looping constructs like “foreach” and “do...while” cannot stream: you need to wait for all results to be done. With a simple trick, you can add streaming.
In code reviews, one common mistake stands out: using += on arrays. Learn how to 3.5x speed up your PowerShell scripts by avoiding +=.
By turning PowerShell code into tokens and structures, you can find errors, auto-document your code, and create powerful refactoring tools.
With a FileSystemWatcher, you can monitor folders for file changes and respond immediately when changes are detected. This way, you can create “drop” folders and respond to log file changes.
The PowerShell Pipeline is robust but tends to be slow. With a couple of tricks you can speed it up tremendously and make it as fast as classic foreach loops.
Help make psconf.eu 2020 your conference, and submit session proposals for the sessions that you would like to hear.
PowerShell Conference EU is Europe’s largest annual PowerShell conference. Delegate registration for psconf.eu 2020 is open now.
The module QRCodeGenerator generates a variety of QR codes. All QR codes are generated offline and not shared with any service. The module works cross-platform (Windows PowerShell, PowerShell Core).
PowerShell ships with Test-Connection to ping computers but this command lacks important parameters such as a timeout. Let’s create a better ping command with a timeout parameter.
Just a few lines of code suffice to add a powerful and flexible port testing command to PowerShell. Test-PSOnePort can test a single port with a timeout - once, or continously until it responds.
Last week, our servers running http://powertheshell.com in the US died on us. That was a rather unpleasant surprise: our servers hosted the ISESteroids documentation and a lot of resources that built up during the past 10 years.