in reply to Re: Win32::OLE and WMI
in thread Win32::OLE and WMI
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Win32::OLE and WMI
by maa (Pilgrim) on Feb 03, 2004 at 10:44 UTC | |
by grmm2 (Acolyte) on Feb 03, 2004 at 11:40 UTC | |
by maa (Pilgrim) on Feb 03, 2004 at 12:18 UTC | |
|
Re: Re: Re: Win32::OLE and WMI
by maa (Pilgrim) on Feb 03, 2004 at 11:21 UTC |