-whatif argument, 7–8, 13t
WbemScriptingSWbemLocator method, 104–105, 104t
Where clauses, 131–132, 136
Where-Object cmdlet, 40, 46–47, 50, 57–58, 61, 63, 64
wild card operator (*), 15, 27–28
WIN32
Bios WMI class, 120–121
ComputerSystem WMI class, 93, 120–123, 130
Desktop WMI class, 112
Environment WMI class, 139
LogicalDisk WMI class, 85, 123–125
OperatingSystem WMI class, 130
processor values, 92, 92t
Product WMI class, 137
ScheduledJob WMI class, 74
Service WMI class, 133
Share WMI class, 126, 126t
Windows 2000
ADSI provider, 147t
default namespace, 103
sAMAccountName attribute in, 154
Windows Management Instrumentation (WMI). See WMI (Windows Management Instrumentation)
Windows NT, ADSI provider, 147, 147t
Windows PowerShell. See PowerShell
Windows Server 2003. See Server 2003
Windows Vista. See Vista
Windows XP. See XP
WinNT provider, 147, 147t
WMI (Windows Management Instrumentation), 97–118.
See also querying WMI
connection to, 99, 104–105
connections, default, 119–120
model, 98
poorly-written scripts, impact of, 119
uses, 97–98
WMI classes
information on, 118
listing, 103–106
retrieving similarly-named properties, 113
types of, 103
WIN32_Bios, 120–121
WIN32_ComputerSystem, 93, 120–123, 130
WIN32_Desktop, 112
WIN32_Environment, 139
WIN32_LogicalDisk, 85, 123–125
WIN32_OperatingSystem, 130
WIN32_Product, 137
WIN32_ScheduledJob, 74
WIN32_Service, 133
WIN32_Share, 126, 126t
in WMI model, 98
working with, 103–111
WMI consumers, in WMI model, 98
WMI infrastructure, in WMI model, 98
WMI namespaces
default, 103, 119–120
definition of, 98
information on, 102
listing, 99–102
in WMI model, 98–99, 99
WMI providers
listing, 102, 102–103
role of, 102
in WMI model, 98
WMI repository, in WMI model, 98
WMI resources, in WMI model, 98
WMI service, in WMI model, 98
WmiTemplate.ps1 script, 116–117
WorkingWithPrinters.ps1 script, 116–117
WorkWithErrors.ps1 script, 150–151
Write-Host cmdlet, 86–87, 86t, 129
wshNetwork object, 43, 44
wshShell object
creating, 37–38
object model, 36, 36
popup box production, 43