What's New Here?

#PSTip Detecting if the console is in Interactive mode

#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… Read more »

Measuring PowerShell scripts

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…. Read more »

#PSTip Verify if a SQL database is mirrored or not

#PSTip Verify if a SQL database is mirrored or not

Note: This tip requires PowerShell 2.0 or above. When using SQL SMO to work with mirroring configuration, it is essential to verify if the database is mirrored, or not, before… Read more »

#PSTip Working with the Windows.Forms.Screen Class

#PSTip Working with the Windows.Forms.Screen Class

When working with Windows PowerShell it can be important to know the screen configuration and resolution of the current computer monitors. The System.Windows.Forms.Screen class provides this information for every monitor attached… Read more »

#PSTip ValidatePattern – Friendlier error messages

#PSTip ValidatePattern – Friendlier error messages

Note: This tip requires PowerShell 2.0 or above. PowerShell has a very nice list of built-in parameter validation attributes. They help validating parameter values before any code runs and give… Read more »

PowerShell Summit 2013 session recordings

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… Read more »

#PSTip Validate your custom objects

#PSTip Validate your custom objects

Note: This tip requires PowerShell 3.0 or above. In PowerShell 3.0 validation attributes work for regular variables in the same way they worked previously for parameters. They give us many… Read more »

#PSTip List all AD attributes currently in use for AD users

#PSTip List all AD attributes currently in use for AD users

This question was asked on the forums recently, is it possible to list all the Active Directory attributes that are currently in use for Active Directory users. It turns out this… Read more »

Twitter

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