DaveWentzel.com            All Things Data

The Basics


  • PS is case-insensitve except when dealing with .NET classes
  • To refer to a static class, enclose the class name in brackets.  'System' is automatically prepended. 
  • When referring to a static property/method you must use ::  (Static Methods)

Single Quotes vs Double Quotes

They behave identically except when dealing with variables.  When $ appears in double quotes then the shell will replace the variable.  In single quotes variable replacement will not occur. 

PowerShell Home