List/Grid Tag Archives: PSTip

#PSTip Convert PowerShell Data File to an Object

#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 a PSD1 file into an object representation, we either used… Read more »

#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 »

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