Get Powershell version PS C:\> $PSVersionTable.PSVersion which will display something like the table below, which means we're running v4: Major Minor Build Revision ----- ----- ----- -------- 4 0 -1 -1 Get Machine's IP Address Complex way of getting the current machines