Tag: PSTip

#PSTip A Better Way to Generate HTTP Query Strings in PowerShell

While working on a module that interacts with REST API, I came across a situation where I had to generate…

Read More

#PSTip Convert PowerShell Data File to an Object

Note: This tip requires PowerShell 4.0 or later. Before PowerShell 4.0, if we had to convert the hash table in…

Read More

#PSTip Using PowerShell runspaces to find unassigned IPv4 addresses

Note: This tip requires PowerShell 2.0 or later. We often come across infrastructure configuration scenarios where we need to find…

Read More

#PSTip Validate Active Directory Credentials

Note: This tip requires PowerShell 2.0 or later. PowerShell let’s you tap into .NET Framework and do all kind of…

Read More

#PSTip Find variables in a script

Note: This tip requires PowerShell 3.0 or later. I had recently completed writing a PowerShell module for an internal project….

Read More

#PSTip Validate if an Active Directory Organizational Unit exists or not

For some recent scripting work, I needed to find if an AD OU existed or not from a computer that…

Read More