SQL PASS PowerShell Session Materials


 

The presentation and scripts can be found here. Two questions came up which I couldn’t answer on the spot: 1) what is the load precedence of profiles and 2) what PowerShell books would I recommend.

 

Profile Load Precedence

http://msdn.microsoft.com/en-us/library/bb613488(v=VS.85).aspx

The profiles are listed in load order. The most specific profiles have precedence over less specific profiles where they apply.

  • %windir%\system32\WindowsPowerShell\v1.0\profile.ps1
  • %windir%\system32\WindowsPowerShell\v1.0\ Microsoft.PowerShell_profile.ps1
  • %UserProfile%\My Documents\WindowsPowerShell\profile.ps1
  • %UserProfile%\My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

 

PowerShell Book Suggestion

Learn PowerShell in a Month of Lunches by Don Jones (no relation)

Windows PowerShell in Action, Second Edition by Bruce Payette

Comments (1)

  1. Andy Lohn says:

    Excellent work – thanks for getting this out here so fast.