List/Grid Tips and Tricks Subscribe RSS feed of category Tips and Tricks
#PSTip Find all groups with same group members in Active Directory
Note: This tip requires PowerShell 2.0 or above. Today I was asked if there was a way to find out which groups have the same group members. This is possible…
#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 Verify local SAM store account credentials
PowerShell provides a nice way of testing if a set of credentials are correct. This can be done by using the System.DirectoryServices.AccountManagement namespace. Earlier this year Shay discussed how this…
#PSTip Verify Active Directory account credentials using System.DirectoryServices.DirectoryEntry
The System.DirectoryServices.AccountManagement namespace provides a nice way of testing if a set of Active Directory credentials are correct (also discussed in PSTip Validating Active Directory user credentials ). Another method…
#PSTip Adding local users to SQL Server Logins using SMO
Note: This tip requires PowerShell 2.0 or above. There was a question on StackOverflow about adding local users to SQL Server logins. I provided an answer to that and realized…
#PSTip List SQL database mirroring partner using SMO
Note: This tip requires PowerShell 2.0 or above. In an earlier tip, we looked at how to verify if a SQL database is mirrored. Continuing this series on SQL SMO…

