PowerShell for Windows Admins

Oct 27 2010   8:42AM GMT

Boot Configuration

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I’ve shown how to get the boot up time of a system before.  We can also find a few more bits of information about the system configuration.

Get-WmiObject -Class Win32_BootConfiguration |
select ConfigurationPath, BootDirectory, 
Caption, LastDrive,
ScratchDirectory, TempDirectory

Using the Win32_BootConfiguration class enables us to find the information as listed. The scratch directory is where temporary files reside at boot up.

 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:

Share this item with your network: