Lenovo ThinkPad W701 (English) BIOS Setup using Windows Management Instrumenta - Page 35
Setting, setting
View all Lenovo ThinkPad W701 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 35 highlights
gwmi -class Lenovo_BiosSetting -namespace root\wmi | Where-Object {$_.CurrentSetting.split(",",[StringSplitOptions]::RemoveEmptyEntries) -eq "AlwaysOnUSB"} | Format-List CurrentSetting Remote computer: gwmi -class Lenovo_BiosSetting -namespace root\wmi -ComputerName test-pc -credential (get-credential) | Where-Object {$_.CurrentSetting.split(",",[StringSplitOptions] ::RemoveEmptyEntries) -eq "AlwaysOnUSB"} | Format-List CurrentSetting PS C:\> gwmi -class Lenovo_BiosSetting -namespace root\wmi -ComputerName test-pc -credential (get-credential) | Where-Object {$_.CurrentSetting.split(",", [StringSplitOptions]::RemoveEmptyEntries) -eq "AlwaysOnUSB"} | Format-List CurrentSetting cmdlet get-credential at command pipeline position 1 Supply values for the following parameters: Credential CurrentSetting : AlwaysOnUSB,Disable Setting a BIOS setting Use the following script as a template to set the value of a setting. Replace "WakeOnLAN,Disable" with the item and value of your choice. Note: The setting string is case sensitive and should be in the format "