Skip to content

Instantly share code, notes, and snippets.

@mikebranstein
Created August 24, 2016 17:51
Show Gist options
  • Save mikebranstein/3dbe53f2c5b1069b7559109d5721d5c3 to your computer and use it in GitHub Desktop.
Save mikebranstein/3dbe53f2c5b1069b7559109d5721d5c3 to your computer and use it in GitHub Desktop.
Remotely rename a device with PowerShell
Invoke-Command -Session $session -FilePath .\Rename-Device.ps1 -ArgumentList $deviceName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment