Posts

Showing posts from June, 2013

Get serial number and Model of computer from command line [wmic]

Command to get serial number: wmic bios get serialnumber Command to get model: wmic csproduct get name Command to get all BIOS information: wmic bios get /all /format:list Command to get all computer system info: wmic csproduct get /all /format:list

DFS commands

Dfsutil /? Dfsutil domain DomainName That will give you the list of namespaces roots for the domain DomainName. You can use the FQDN if you prefer. Also, you can list the namespaces roots hosted on a specific machine by doing: Dfsutil server MachineNam e MachineName is the root server. This command lists domain and standalone namespaces hosted in the root server. The root server can be a remote machine. Now to look at the individual namespaces, you can do: Dfsutil root \\DomainName or MachineName\RootName To view Target server/links/share paths: dfsutil /Root: /View [/Verbose] Example : dfsutil /root:americas.domain.com/americas /view /verbose