Difference between revisions of "Powershell Fundamentals"

From rbachwiki
Jump to navigation Jump to search
Line 16: Line 16:
== Help ==
== Help ==
<p> Use <span class="high"> Get-Help </span> followed by the service name </p>
<p> Use <span class="high"> Get-Help </span> followed by the service name </p>
  Get-Help Get-Service
  Help Get-Service

Revision as of 15:28, 17 October 2024

Get Version

$PSVersionTable

Get Log of session

Start-Transcript // will start a log transcript of everything that is typed
Stop-Transcript // stop the transcript
transcript file is stored in My Documents

Keyboard Shortcut

ALT-SHIFT + (PLUS)  // Split panes horizontally (WILL NOT WORK WITH THE NUMBER KEYPAD)
ALT-SHIFT - (MINUS) // Split panes vertically (WILL NOT WORK WITH THE NUMBER KEYPAD)
CTRL + To zoom in
CTRL - To Zoom Out
ALT Arrows will jump from one pane to the next
ALT Shift Arrows will resize panes
CTRL SHIFT W Closes Panes

Help

Use Get-Help followed by the service name

Help Get-Service