Lenovo ThinkPad R500 Podręcznik wdrażania - Strona 31

Przeglądaj online lub pobierz pdf Podręcznik wdrażania dla Pulpit Lenovo ThinkPad R500. Lenovo ThinkPad R500 36 stron. Bios windows management instrumentation interface
Również dla Lenovo ThinkPad R500: Plakat konfiguracji (2 strony), Instrukcja konfiguracji początkowej (2 strony), Broszura (4 strony), Specyfikacje (4 strony), Podręcznik wdrażania (44 strony), Zawiadomienie (24 strony), Zawiadomienie (1 strony), Podręcznik wdrażania (40 strony), Podręcznik użytkownika (28 strony)

Lenovo ThinkPad R500 Podręcznik wdrażania
<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
__CLASS
__SUPERCLASS
__DYNASTY
__RELPATH
__PROPERTY_COUNT
__DERIVATION
__SERVER
__NAMESPACE
__PATH
return
PS C:\> (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi).
SaveBiosSettings
MemberType
OverloadDefinitions : {System.Management.ManagementBaseObject
TypeNameOfValue
Value
Name
IsInstance
PS C:\>
: 2
: __PARAMETERS
:
: __PARAMETERS
:
: 1
: {}
:
:
:
: Success
: Method
SaveBiosSettings(System.String parameter)}
: System.Management.Automation.PSMethod
: System.Management.ManagementBaseObject
SaveBiosSettings(System.String parameter)
: SaveBiosSettings
: True
Appendix B. Sample PowerShell scripts for remote BIOS management
23