List/Grid Author Archives: Shay Levy
#PSTip Retrieve group membership of an Active Directory group recursively
Note: This tip requires PowerShell 2.0 or above. When you need to manage Active Directory, the Active Directory PowerShell module is the first admin choice as it provides many cmdlets for…
#PSTip Detecting if the console is in Interactive mode
So, in your scripts you want to gather information from the user who runs it and you use the Read-Host cmdlet. This of course works most of time but there…
Measuring PowerShell scripts
Earlier this year, Microsoft released the Windows PowerShell 3.0 SDK Sample Pack which includes a lot of code samples that show how to build applications based on Windows PowerShell 3.0….
PowerShell Summit 2013 session recordings
Haven’t had the chance to attend the PowerShell Summit? You can now watch the recordings on YouTube thanks to Aaron Hoover, one of the great PowerShell enthusiasts who attended this successful…
#PSTip Extending the default output property set for Active Directory objects
Note: This tip requires PowerShell 3.0 or above. When you get user objects from Active Directory using the Active Directory module cmdlets, you get a ‘thin’ output object that includes just…
#PSTip List all Active Directory constructed attributes
Active Directory has a special kind of attributes called Constructed attributes. Constructed attributes are not “real” attributes, they are not stored in the directory. Instead, their values are calculated (by…

