jump to navigation

PowerShell Thu - Oct 5, 2017

Posted by supriyatna in Uncategorized.
Tags: , ,
add a comment

Command Prompt

C:\> PATH
-or-
C:\> echo %PATH%

In PowerShell

PS C:\> $env:path
PS C:\> $env:path -split ‘;’
PS C:\> $env:path.split(‘;’)

PS C:\> $psversiontable #show powershell version

References

https://github.com/PowerShell/PowerShell