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.
A big “Thank You!” to all the speakers who are volunteering to deliver sessions at psconf.eu 2020!
Wouldn’t it be nice for scripts to detect when a key is pressed? Pressing a key could add a pause to scripts, exit loops prematurely, or skip loading things in your profile script.
Ever wanted to find files with identical content? With file hashing and a bit of cleverness, PowerShell identifies duplicate files in no time.
Learn how to use other languages to teach PowerShell new tricks, for example how to reliably bring application windows to the front.
PowerShell 7 is the new cross-platform version of PowerShell and can be installed on a wide range of operating systems, including Windows, Linux, MacOS.
There is a design flaw in Group-Object. With a workaround, your scripts can be up to 50x faster and still 2x faster on PowerShell Core.
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.
Discover the awesome content and sessions presented at psconf.eu 2020, delivered by renown PowerShell Experts from around the world!
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.