Powershell Module aufzählen

Mit diesem Skript kann man die Powershell Module aufzählen.

$CountOfModulesBeforeRSAT = Get-Module -ListAvailable |
Tee-Object -Variable ‘ModulesBeforeRSAT’ |Measure-Object
‘{0} commands’ -f $CountOfModulesBeforeRSAT.Count

$CountOfCommandsAfterRSAT = Get-Command |
Tee-Object -Variable ‘CommandsAfterRSAT’ |
Measure-Object
‘{0} commands’ -f $CountOfCommandsAfterRSAT.countmands’ -f $CountOfModulesBeforeRSAT.count

Powershell Commands count

Powershell Commands count