List/Grid Tag Archives: PSTip

#PSTip Using PowerShell runspaces to find unassigned IPv4 addresses

#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 a free IP address before assigning the same to a… Read more »

#PSTip Validate Active Directory Credentials

#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 poking. Recently, while reading up this article on CodeProject ┬ácame… Read more »

#PSTip Find variables in a script

#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. Within this module, I ended up using variables in the… Read more »

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

#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 is not domain-joined. I knew that the System.DirectoryServices.DirectoryEntry class can… Read more »

#PSTip Editing remote file in PowerShell ISE

#PSTip Editing remote file in PowerShell ISE

Note: This tip requires PowerShell 5.0 or later. If you have ever wondered how you can edit files on a remote system using Windows PowerShell, it is now possible with… Read more »

#PSTip Replacing special characters

#PSTip Replacing special characters

Once upon a time I answered Stack Overflow question about easy way to replace ‘special’ characters with something ‘web safe’. I answered question with the following code: My answer was… Read more »

© 2016 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.