Hi,
Is there a way to make a variaton of the following scripts to retreive the full name of the owner of a Windows share?
Lets say I would like to know who the owner of this folder is: ServerHiddenShare$User
Example script one works with local folders, but it's not able to look for a network share.
Example 1:
Dim $objSD
$varFolderName = "C:\temp\test"
$oWMIService = ObjGet("winmgmts:")
$oFolderSecuritySettings = $oWMIService.Get("Win32_LogicalFileSecuritySetting='" & $varFolder