According to windows help NET USE, when used without options, lists the computer's connections.
I'd like to find a way in powershell to get a list of the Remote entries in net use's output.
I know that as an extreme measure I can parse the result of the "net use" command itself, but I'd rather not rely on the text output of that command.
Can anybody help me out? thank you
Michele
Status Local Remote Network
-------------------------------------------------------------------------------
OK \\SERVER02\example Microsoft Windows Network
OK \\SERVER02\prova Microsoft Windows Network
Disconnected \\SERVER03\test Microsoft Windows Network
OK \\SERVER02\remoteshare Microsoft Windows Network
Disconnected \\SERVER03\remoteshare