PowerShell CTP3 quick tip
In previous versions of PowerShell if you wanted to discover the static members of a type you had to do:
PS > [IO.File] | Get-Member –Static
TypeName: System.IO.File
Name MemberType
---- ----------
AppendAllText Method
AppendText Method
Copy Method
Create Method
CreateText Method
(...)
In CTP3 there’s no need to do that anymore, start with:
PS > [IO.File]::
Now press the TAB key and watch the magic (keep hitting TAB to cycle through all members).