Month: April 2015

Get Current IP Address

Here is a quick way to get all IP addresses assigned to your computer: #requires -Version 1 $ipaddress = [System.Net.DNS]::GetHostByName($null)...

read more

Safely Use UNC Paths

Whenever you use UNC paths in PowerShell, your script may break. Since a UNC path has no drive letter, PowerShell looks at the current directory...

read more

Using Splatting

With splatting, you can call cmdlets and programmatically control the parameters you submit. To do this, add the parameters and values to a hash...

read more

Reading RSS Feeds

RSS feeds can be read by using an XML object, however XML objects do not support proxies. Here is an example that uses Invoke-WebRequest to retrieve...

read more