Change Description of a Computer remotely

Set Description of a Computer remotely

Computerbeschreibung remote ändern

Mit diesem kleinen Powershell Skript ändern oder setzen wir die Beschreibung eines Computers.

Set Description of a Computer remotely

$RemoteCom = Read-Host -Prompt ‘Remote-Computer lautet’
$RemoteDesc = Read-Host -Prompt ‘Neue Beschreibung des Computers’

$PC = Get-WmiObject -class Win32_OperatingSystem -Computername $RemoteCom
$PC.Description = $RemoteDesc

$PC.Put()

Set Description of a Computer remotely

Powershell Set Description of a Computer remotely

Computerbeschreibung remote ändern

Skript Download:

Set Description of a Computer remotely

https://www.der-windows-papst.de/2020/07/18/weekly-reboots/