Created
February 18, 2015 15:53
-
-
Save XPlantefeve/f0671cbad8ffd069dee4 to your computer and use it in GitHub Desktop.
Launch Management console easily from the command line.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Start-ManagementConsole { | |
Param( [string]$ComputerName = '.' ) | |
Start-Process -FilePath "${env:windir}\System32\mmc.exe" ` | |
-ArgumentList "compmgmt.msc /computer:\\${ComputerName}" | |
} | |
New-Alias -Name manage -Value "Start-ManagementConsole" -Scope Global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment