Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  the  Boot  Configuration  Properties  of  a  Computer  

 Content of List the Boot Configuration Properties of a Computer.ps1
MD5 Hash: E0EDFDF5C82B5A7DEF465C568494ED33
$strComputer = "."

$colItems = get-wmiobject -class "Win32_BootConfiguration" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Boot Directory: " $objItem.BootDirectory
write-host "Caption: " $objItem.Caption
write-host "Configuration Path: " $objItem.ConfigurationPath
write-host "Description: " $objItem.Description
write-host "Last Drive: " $objItem.LastDrive
write-host "Name: " $objItem.Name
write-host "Scratch Directory: " $objItem.ScratchDirectory
write-host "Setting ID: " $objItem.SettingID
write-host "Temporary Directory: " $objItem.TempDirectory
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a