List/Grid Tag Archives: PSTip

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

#PSTip Taking control of verbose and debug output, part 5

#PSTip Taking control of verbose and debug output, part 5

Note: This tip requires PowerShell 3.0 or later. In the final part of the series, we will combine everything we’ve found out so far and create a tool that will… Read more »

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