These are answers for the lab working with WMI and see him you have to a management information from
several computers.
You start by squaring the information from your local computer and from one test computer in your environment.
The answer is for exercise Awam acquiring information by using WMI task one.
Gary IP addresses.
Step one to find a repository class that lists IP addresses being used by computer RAM get WMI object
Desch namespace root backslash see in the two deaths list by.
Well rename Desch like configuration in single quotes and in asterisks byte sort.
Name no TOS re-inserted to network adapter configuration class.
Step two to retrieve all instances of the class showier disappear IP addresses Ramm get WMI object Desch
class re-inserted to underscore network adapter configuration and pipe it to where does Shippey enabled
Desch equal true pipe select IP address remember that you can run the field command and pipe it its
output to get member to see what properties are available.
So don't forget about get mamber command.
It's very useful task to Querrey operating system version information.
Step one to find two reports that through a class that lists Operating System Information run get WMI
object Desch namespace a root backslash in the two Desch least pipe where named Desch like operating
in single quotes and two asterisks by it.
Certainly no to re-inserted to underscore Operating System class.
Step two to display a list of properties for the class run get WMI object dishcloths re-inserted to
underscore operating system but get mamber notice that version Service Pack major version and build
number build number properties and the final step to display the specified information.
Get WMI object class re-inserted to a region system by Select version customer service pack major portion
koma build number tusked 3 Querrey computer system hardware information step one to find two reports
that are CLOS let displays computer system information from WMI object dush namespace root backslash
see in to the list pipe where a name like system pipe sort name.
Notice re-inserted to underscore computer system class.
Step.
To display a list of for instance properties and ralliers the RAM get WMI object class when so to two
computer system pipe for at least rockety asterisks for all.
Remember that member does not display property values but form at least can and steps 3 to display the
specified information.
Run get WMI object class re-inserted to computer system pipe select manufacturer modelled and calculated
property with name RAM and ask for word system information.
Step one to find a repository class that contains information about services.
Run get WMI object namespace root.
Backslash seems to Daschle's pipe where name like service by a certain name.
Notice re-inserted to underscore service is glass.
Step two to display a list of for instance properties and ralliers run get WMI object.
Class re-inserted to service by f l asterisk.
And step 3 to display specified information.
Rom got w my object class re-inserted to service field or name like s by select name coma state coma
start name.
Now that answer is for exercise to Waren information by use and same task one Querrey user accounts.
Step 1 to find a repository class that lists user accounts run get WMI object namespace route saying
the two least pipe their name like use or by sword name noticeably inserted to underscore user account
class.
Step two to display a list of class properties Thuram gets the instance dash class re-inserted to underscore
user account and pipe it to get mamber or GM.
Step three to display the specified information around get some instance class re-inserted to user account
by format table or F.T. property caption comma the main coma's seat call my full name call my name.
You should now see air return.
Least of all demand and local accounts TASC to worry bias information.
Step one to find a repository class that contains biased information rom get WMI my object namespace
Baroud seem to to this list by their name like bias in single quotes and in asterisk pipe sword name
notice of incertitude bias clause.
Step 2 to display the specified information from.
Get some instance Desch class re-inserted to bias TASC 3 Waren network adapter configuration information.
Step 1 to display a list of all local re-inserted to underscore network adapter configuration instances.
Get the same instance this class name when to underscore network adapter configuration.
Step.
To display a list of all re-inserted to network adapter configuration instances on lappets or read one
rom gets the instance KLOS name when set to turn network adapter configuration Desch computer name Lepus
are we want or any remote server task for Querrey user group information.
Step one to find her repository classes that lists user group or groups run get WMI or object Desch
namespace root backslash seem to dasht least by a name like grewe by.
Certainly no it isn't re-inserted to group class and step two to display the specified information.
Rom gets same instance class name when re-inserted to group days computer name Lepus a real one.
Oh Lebda see why exercise 3 invoke in Masset task one invoke same method.
Step 1 to restart lap DC Warner Lepus So we want rom invokes the Musset class name re-inserted to underscore
operating system.
That's computer name dash method name a reboot.
You should see a prompt in console saying return value equals zero.
And the computer name equals your computer desk to Cirus step to switch to another computer which you
are restarting and you should see it restarted task to invoke a WMI method.
Open computer management console.
Go to services and applications and then select services like get the Windows Remote management or even
a ram service and know the startup time to change the start.
Most of the specified service run got to be in surrogate's WMI object dishcloths be inserted to underscore
service.
Thus filter may make calls when a ram pipe is to invoke w my method name change star mode.
This argument automatic in quotes and check the status of windows when a room service and verify it
is changed.