Posts Tagged ‘Win32_Netconnection’

Get Network Connections

Thursday, March 19th, 2009 by Jeffery Hicks
I love that part of my job is helping people out in the forums as ScriptingAnswers.com. A recent post asked about finding out what network drives were mapped on a remote computer using PowerShell. The task sounded familiar so I poked around my script pile and found an old VBScript that used WMI and the Win32_NetworkConnection class. Great. Get-WMIObject to the rescue: Get-WMIObject win32_networkconnection -computername Desk23 You even get a nicely formatted summary. But you me, I can't resist tinkering so I wrote a function that enhances this basic command I call Get-NetConnection   More »


Entries (RSS) and Comments (RSS).