Using COM to Enumerate Hostname, Username, Domain, Network Drives

$o = [activator]::CreateInstance([type]::GetTypeFromCLSID("093FF999-1EA0-4079-9525-9614C3504B74"))


Observations

Last updated

$o = [activator]::CreateInstance([type]::GetTypeFromCLSID("093FF999-1EA0-4079-9525-9614C3504B74"))



Last updated
$o | gm$o$o.EnumNetworkDrives()