How to change "Computer Description" in Windows with command line

If you want to change Computer Description with command line in a Windows PC that is connected in a domain, you need to use:
net config server /srvcomment:"computer description"
You can do it by remote connection using the following command:
psexec \\computer_name cmd.exe
It's similar to SSH command for Linux

Commenti

Post popolari in questo blog

Solaris 10: How to restart network service without reboot

How to send e-mail using PHP and mail() with Linux Debian