Last active
August 24, 2016 17:50
-
-
Save mikebranstein/936ebebe7189ada41d86f7f5aecfe86c to your computer and use it in GitHub Desktop.
Remotely rename a device with PowerShell
This file contains hidden or 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
Param ( | |
[string][Parameter(Mandatory = $true)] $deviceName | |
) | |
setcomputername $deviceName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment