2015-11-19

Quick glance at PowerShell environment

Logging in to a new system and need to know what my PowerShell capabilities are.

To have a quick overview of what I can do on that box I do this:


Write-Host "Installed PowerShell version: $($PSVersionTable.PSVersion.Major).$($PSVersionTable.PSVersion.Minor)"
Write-Host "Available PowerShell modules:"
Get-Module -ListAvailable | Select Name



No comments:

Post a Comment