Remote Admin automation
2
Get the computer domain with wmi
2
Access a print server, get information about all printers on the server,
and build an Excel spreadsheet with the information. You must have power
user or Administrator rights to the print server, and need to have
Microsoft Excel installed on the PC you are running this from.
and build an Excel spreadsheet with the information. You must have power
user or Administrator rights to the print server, and need to have
Microsoft Excel installed on the PC you are running this from.
2
If you want to create a shortcut programatically use the code below. Found somewhere on net
2
To create a shortcut to an url you can do as follows
2
To get the name of the computer/host
3
Get all the properties of active directory
3
Get Bios info from wmi enabled machines
3
Kill a running program on a wmi enabled compute
3
check if a string is a valid domain ex.: dsc-services.be
3
mySizeDisk: this function just formats the output the way I like
Input integer in Bytes, outputs easily human readable format
Input integer in Bytes, outputs easily human readable format









