edit: Just figure it out, to get the local computer I used:
$objSWbemLocator = ObjCreate("WbemScripting.SWbemLocator")
$objSWbemServices = ObjGet("winmgmts:\\" & "." & "\")
Hey everyone,
Was wondering how I would be able to implement this on a local computer instead of using connectserver?
Any suggestions or help would be appreciated. Thanks.