ps1

Get Text File Encoding

Text files can be stored using different encodings, and to correctly reading them, you must specify the encoding. That’s why most cmdlets...

read more

Detecting WinPE

PowerShell can run inside WinPE environments. If you’d like to detect whether your PowerShell script runs inside a WinPE environment, you can...

read more

Progress Bar Timer

Here is a simple example using the PowerShell progress bar. The code displays a progress bar counting down a break. Simply adjust the number of...

read more