PowerShell for Windows Admins

Nov 3 2010   2:00PM GMT

WMI Settings



Posted by: Richard Siddaway
Tags:
WMI

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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: