List/Grid Tag Archives: PSTip

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

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

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

Note: This tip requires PowerShell 3.0 or later. PowerShell commands, both advanced and simple, can work with the pipeline. The difference is that in the simple commands access to pipeline… Read more »

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