Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# read GroupComponent Or PartComponent using regex

cimv2:(?<operclass>[w_]+).((?<name>[w_]+)="(?<value>[w_]*)"([.,])*)*

"GroupComponent": "\PMS
ootcimv2:Win32_Group.Domain="PMS",Name="Administrators""
"PartComponent": "\PMS
ootcimv2:Win32_UserAccount.Domain="TEST",Name="Administrator""
 
PREVIOUS NEXT
Tagged: #read #GroupComponent #Or #PartComponent #regex
ADD COMMENT
Topic
Name
2+1 =