- Two types of people
- Unix Shell users
- Command Prompts are Scary
- You already have PowerShell
- Aliases (rm/del, mkdir/md, ls/dir)
- Verb-Noun and Get-Verb
- Write-Host
- Variables ($a = "foo")
- Variable replacements ("Hello, $a")
- Ranges (1..10)
- How do I get last write time from an 'ls' in shell?
- Pipeing (|)
- Filtering (? {})
- Get-Member
- Looping (% {})
- Variables (round 2)
- Evaluations ("Hello, $($a.Length)")
- New-Object
ise
launches the Integrated Scripting Environment
- Add-Member for NoteProperty
- Get-Member has properties not in MSDN
- Casting to [xml]
- Element access via properties
- The conundrum of leaf values
- Invoke-RestMethod
- ConvertTo-Json
- ConvertFrom-Json
- Get-PSDrive
- Variable
- HKLM
- Env
- Alias
- Function
- Profiles ($PROFILE)
- $PROFILE | Format-List -Force
- Most developers care about 3 profiles
- PowerShell command prompt
- ISE
- NuGet Package Manager Console
- Get-Module
- Get-Module -ListAvailable
- Import-Module
- PSGet.net is the NuGet of PowerShell
- WebAdministration
- Copy AppDomains
- Import-Module PSake
- Tasks are run only once
- Functions can still be declared