Lenovo ThinkPad R500 Manuale d'uso - Pagina 35

Sfoglia online o scarica il pdf Manuale d'uso per Desktop Lenovo ThinkPad R500. Lenovo ThinkPad R500 40. Bios windows management instrumentation interface
Anche per Lenovo ThinkPad R500: Poster di impostazione (2 pagine), Manuale di configurazione iniziale (2 pagine), Opuscolo (4 pagine), Specifiche tecniche (4 pagine), Manuale d'uso (44 pagine), Avviso (24 pagine), Avviso (1 pagine), Manuale d'uso (36 pagine), Manuale d'uso (28 pagine)

Lenovo ThinkPad R500 Manuale d'uso
<Command>
gwmi -class Lenovo_BiosSetting -namespace root\wmi | Where-Object
{$_.CurrentSetting.split(",",[StringSplitOptions]::RemoveEmptyEntries) -eq
"AlwaysOnUSB"}
| Format-List CurrentSetting
Remote computer:
<Command>
gwmi -class Lenovo_BiosSetting -namespace root\wmi -ComputerName test-pc -credential
(get-credential) | Where-Object {$_.CurrentSetting.split(",",[StringSplitOptions]
::RemoveEmptyEntries) -eq "AlwaysOnUSB"} | Format-List CurrentSetting
<Sample output>
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 "<item, <value>".
<Command>
(gwmi -class Lenovo_SetBiosSetting
-namespace root\wmi).SetBiosSetting ("WakeOnLAN,Disable")
__GENUS
: 2
__CLASS
: __PARAMETERS
__SUPERCLASS
:
__DYNASTY
: __PARAMETERS
__RELPATH
:
__PROPERTY_COUNT : 1
__DERIVATION
: {}
__SERVER
:
__NAMESPACE
:
__PATH
:
return
: Success
PS C:\> (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi).
SaveBiosSettings
MemberType
: Method
OverloadDefinitions : {System.Management.ManagementBaseObject
SaveBiosSettings(System.String parameter)}
TypeNameOfValue : System.Management.Automation.PSMethod
Value
: System.Management.ManagementBaseObject
SaveBiosSettings(System.String parameter)
Name
: SaveBiosSettings
27
Appendix B. Sample PowerShell scripts for remote BIOS management