Difference between revisions of "Getting Started (PowerShell)"

Jump to navigation Jump to search
m (→‎Installed Version: Additional version source)
m (→‎Useful One-Liners: Minor tweakage)
Line 104: Line 104:
|<code> $MyInvocation.MyCommand.Name </code>                            || Current script or function name (if in a function)
|<code> $MyInvocation.MyCommand.Name </code>                            || Current script or function name (if in a function)
|-
|-
|<code> $env:PROCESSOR_ARCHITECTURE </code>                            || Environment architecture (32 or 64 bit), not OS architecture
|<code> $host.UI.RawUI.WindowTitle = "Wibble" </code>                   || Change command shell title (to ''Wibble'')
|-
|<code> $host.UI.RawUI.WindowTitle </code>                             || Command shell title (change at will)
|}
|}