No luck there either, I'm afraid :-( The output from the above code is...use Win32::OLE; use Data::Dumper; $wmi = Win32::OLE->GetObject('winmgmts:root/cimv2'); $query = 'SELECT * FROM Win32_LogicalFileSecuritySetting WHERE Path="d +:\\\\Programming"'; $resultset = $wmi->ExecQuery($query); foreach $obj (in $resultset) { $rc = $obj->GetSecurityDescriptor($sec); print "Path=[$obj->{Path}] rc=[$rc]\n"; print Data::Dumper->Dump([$sec], [qw(*sec)]); }
Path=[d:\Programming] rc=[0] $sec = undef;
In reply to Re: Re: Win32::OLE and WMI
by grmm2
in thread Win32::OLE and WMI
by grmm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |