SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 453 | Next

Steve Seguis

"Microsoft Windows Server 2008 Administration"

The Get-WmiObject cmdlet provides
a direct interface to query any WMI object accessible to you. For example, if you want to
know information about your BIOS and system information, you can query the Win32_
BIOS and Win32_ComputerSystem WMI classes using the following commands:
Get-WmiObject -class Win32_BIOS
Get-WmiObject -class Win32_ComputerSystem
As you can see in Figure 13-4, the Get-WmiObject command can be useful for retrieving
asset-based information using WMI.
You can see that even with just a handful of commands, Windows PowerShell can be
a powerful ally. Now read on for more about what cmdlets can do.
439 Chapter 13: Windows PowerShell
CMDLETS
Cmdlets follow a standard naming convention of verb-noun. The reason for this is quite
simple: The command name is descriptive in and of itself. Every cmdlet name intuitively
explains what it does and to which objects. For example, Get-Service immediately
conveys that this particular command can get information about a service. Compared to
traditional command-line applications, cmdlets are also designed to separate the tasks
for retrieving and setting information as well as separating the data from its presentation.
So you??™ll typically find a cmdlet to retrieve information about an object and a
separate cmdlet to set information about the same object. For example, the Get-Date
cmdlet retrieves the current date and time, while the Set-Date cmdlet sets the date
and time.


Pages:
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6