PowerShell for Windows Admins

Nov 3 2010   2:00PM GMT

WMI Settings

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I have been digging into WMI internals a lot recently and came across a class that shows me the WMI settings.

001
002
003
004
005
006
007
008
009
010
011
012
Get-WmiObject Win32_WMISetting | 
select ASPScriptDefaultNamespace, 
BuildVersion, DatabaseDirectory, 
EnableEvents, EnableStartupHeapPreallocation,
HighThresholdOnClientObjects,
InstallationDirectory, 
LoggingDirectory, LoggingLevel,
LowThresholdOnEvents, MaxLogFileSize,
MaxWaitOnEvents

Get-WmiObject Win32_WMISetting | 
select -ExpandProperty AutorecoverMofs

I have to call it twice because I want to expand the list of MOF files

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: