(file) Return to examples.txt CVS log (file) (dir) Up to [OMI] / omi / cli

File: [OMI] / omi / cli / examples.txt (download)
Revision: 1.4, Mon Apr 20 17:19:50 2015 UTC (9 years ago) by krisbash
Branch: MAIN
CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD
Changes since 1.3: +0 -0 lines
OMI 1.0.8-1


omicli noop

omicli ei root/test MSFT_President

omicli enc { X Array [ 1 2 3 ] }

omicli gi root/test { MSFT_President Key 1 }

omicli ci root/test { MSFT_President Key 3 First John Last Smith }

omicli mi root/test { MSFT_President Key 1 First Geo Last Washington }

omicli ei test/cpp X_SmallNumber

omicli enc { Link Left { Gadget Key 1 } Right { Gadget Key 2 } }

omicli enc { Class1 Key1 Value1 Key2 Value2 Key3 Value3 }

omicli enc { W Left { X Key Hello } Right { Y Key { Z ID Mine } } }

omicli iv test/cpp { X_SmallNumber } SpellNumber { num 123 }

omicli iv test/cpp { X_SmallNumber Number 135 } GetFactors

omicli a test/cpp { MSFT_Person Key 1 }

omicli a test/cpp { X_numberWorld Name theWorld }

omicli r test/cpp { X_Profile InstanceID world } -ac X_NumberWorldConformsToProfile

omicli ei root/cimv2 XYZ_Widget

omicli ci root/cimv2 { XYZ_Widget SerialNumber 3 Colors [ Red Green Blue ]  }

omicli ci root/cimv2 { XYZ_Widget SerialNumber 3 Numbers [ 100 200 300  ]  Colors [ Red Green Blue ] }

omicli enc { Method Param [ { X N 101 } { X N 102 } ] }

omicli iv root/cimv2 { XYZ_NetworkACLService Name 1001 SystemCreationClassName XYZ_ComputerSystem SystemName saturn CreationClassName XYZ_NetworkACLService } AddRule { NetworkPolicyAction [ { CIM_NetworkPolicyAction InstanceID 101 } { CIM_NetworkPolicyAction InstanceID 102 } ] }

omicli iv root/cimv2 { XYZ_NetworkACLService Name 1001 SystemCreationClassName XYZ_ComputerSystem SystemName saturn CreationClassName XYZ_NetworkACLService } AddRule { TargetACL { MSFT_ACL SystemCreationClassName XYZ_ComputerSystem SystemName saturn CreationClassName MSFT_ACL PolicyRuleName POLICY1 } NetworkPolicyRule { XYZ_NetworkPolicyRule SystemCreationClassName XYZ_ComputerSystem SystemName saturn CreationClassName XYZ_NetworkPolicyRule PolicyRuleName POLICY1 } NetworkPolicyAction [ { CIM_NetworkPolicyAction InstanceID 101 } { CIM_NetworkPolicyAction InstanceID 102 } ] }

ViewCVS 0.9.2