ps1

Detecting Power Status

While it is hard to directly access the Windows Power Management API, there are other API calls that can do this for you. The following one-liner...

read more

View All Module Details

powershellgallery.com is a great place to find new free PowerShell extension modules that add new cmdlets to your PowerShell. However, it can become...

read more

Testing Well Formed URLs

PowerShell is API-based so often, you don’t need to dive into regular expressions and text patterns. Instead, there is a multitude of...

read more

Determining Your Platform

PowerShell today is cross-platform so even though you may still use Windows PowerShell on Windows servers, your scripts may well end up running on...

read more

Escaping Strings in URLs

When adding string information to URLs, i.e. to construct requests for calling REST web services, it is important to escape special characters. The...

read more