Lenovo ThinkPad R400 Deployment Manual - Page 29

Browse online or download pdf Deployment Manual for Desktop Lenovo ThinkPad R400. Lenovo ThinkPad R400 36 pages. (bulgarian) setup guide
Also for Lenovo ThinkPad R400: Initial Setup (2 pages), Setup Manual (2 pages), Brochure (4 pages), Specifications (4 pages), Deployment Manual (44 pages), Brochure (4 pages), Notice (24 pages), Notice (1 pages), Deployment Manual (40 pages), User Manual (28 pages), (Spanish) Setup Poster (2 pages), (Portuguese) Setup Poster (2 pages), (Portuguese) Setup Poster (2 pages), (Italian) Setup Poster (2 pages), (German) Setup Poster (2 pages), (Dutch) Setup Poster (2 pages), (Finnish) Setup Poster (2 pages), (Danish) Setup Poster (2 pages), (Danish) Setup Poster (2 pages), (Russian) Setup Poster (2 pages), (Romanian) Setup Poster (2 pages), Setup Poster (2 pages), Setup Poster (2 pages), Setup Poster (2 pages), Setup Poster (2 pages), Setup Poster (2 pages)

Lenovo ThinkPad R400 Deployment Manual
Appendix B. Sample PowerShell scripts for remote BIOS
management
The following PowerShell scripts are examples that can be used with management
servers.

Get all current BIOS settings

Use the following script as a template to display all current BIOS settings on the
local computer.
<Command>
gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object
{if ($_.CurrentSetting -ne "") {Write-Host $_.CurrentSetting.replace(","," = ")}}
To obtain the current BIOS settings from a remote computer on your network,
replace test-pc with the computer name of the target computer in the following
command. You will be prompted to enter the userid and password of the
administrator-level account for the remote computer.
<Command>
gwmi -class Lenovo_BiosSetting -namespace root\wmi -ComputerName test-pc
-credential
(get-credential) | ForEach-Object {if ($_.CurrentSetting -ne "")
{Write-Host $_.CurrentSetting.replace(","," = ")}}
<Sample output>
PS C:\> gwmi -class Lenovo_BiosSetting -namespace root\wmi -ComputerName test-pc
-credential (get-credential) | ForEach-Object {if ($_.CurrentSetting -ne "")
{Write-Host $_.CurrentSetting.replace(","," = ")}}
cmdlet get-credential at command pipeline position
1 Supply values for the following parameters:
Credential
WakeOnLAN = Enable
FlashOverLAN = Enable
EthernetLANOptionROM = Enable
HarddriveDMA = Enable
WirelessLANandWiMAXRadios = On
SerialPort = Disable
SerialPortIO = 3F8
SerialPortIRQ = 4
ParallelPort = Enable
ParallelPortMode = BiDirectional
ParallelPortIO = 3BC
ParallelPortIRQ = 7
ParallelPortDMA = 0
PCIINTA = 11
PCIINTB = 11
PCIINTC = 11
PCIINTD = 11
PCIINTE = 11
PCIINTF = 11
PCIINTG = 11
PCIINTH = 11
USBBIOSSupport = Enable
AlwaysOnUSB = Disable
TrackPoint = Automatic
TouchPad = Automatic
FnKeyLock = Disable
ThinkPadNumLock = Independent
© Copyright Lenovo 2008
21