What's New Here?Subscribe to RSS feed
#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…
Get to know PowerShell 3.0 with Jeffery Hicks
On May 22nd, 2013, MVP Systems Software is hosting a free webinar on introduction to PowerShell 3.0. PowerShell MVP and a well known author Jeffery Hicks will be presenting this. Here…
#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…
#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….

