Indeed!

Here's where I'm at. The line 18 and 27 conversions from VBS don't seem to be working properly. Does the syntax need to follow different guidelines in kix?

Code:
 Break On
; Connect to WMI and get the file security object for the testfolder directory
$wmiFileSecSetting = GetObject ("winmgmts:Win32_LogicalFileSecuritySetting.path='c:\\temp'")

; Use the Win32_LogicalFileSecuritySetting Caption property to create a simple header before
; dumping the discretionary access control list (DACL).

? "Caption: " $wmiFileSecSetting.Caption
? "ControlFlags: " $wmiFileSecSetting.ControlFlags
? "Description: " $wmiFileSecSetting.Description
? "OwnerPermissions: " $wmiFileSecSetting.OwnerPermissions
? "Path: " $wmiFileSecSetting.Path
? "SettingID: " $wmiFileSecSetting.SettingID
?
?

; Obtain existing security descriptor for folder
$wmiFileSecSetting.GetSecurityDescriptor(wmiSecurityDescriptor)
If @error <> 0
? "GetSecurityDescriptor failed" + @crlf + @Error + @crlf + @SError
Exit
Else
? "GetSecurityDescriptor suceeded"
?
EndIf

$wmiOwner = wmiSecurityDescriptor.Owner

? "Win32_SecurityDescriptor"
? "------------------------"
? "Owner Name: " $wmiOwner.Name
? "Owner SIDString: " $wmiOwner.SIDString
? "Owner Domain: " $wmiOwner.Domain

_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.