Set-VMBios
Set-VMBios
Configures the BIOS of a Generation 1 virtual machine.
구문
Parameter Set: VMName
Set-VMBios [-VMName] <String[]> [-ComputerName <String[]> ] [-DisableNumLock] [-EnableNumLock] [-Passthru] [-StartupOrder {CD | IDE | LegacyNetworkAdapter | Floppy}[] ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: VMBios
Set-VMBios [-VMBios] <VMBios[]> [-DisableNumLock] [-EnableNumLock] [-Passthru] [-StartupOrder {CD | IDE | LegacyNetworkAdapter | Floppy}[] ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: VMObject
Set-VMBios [-VM] <VirtualMachine[]> [-DisableNumLock] [-EnableNumLock] [-Passthru] [-StartupOrder {CD | IDE | LegacyNetworkAdapter | Floppy}[] ] [-Confirm] [-WhatIf] [ <CommonParameters>]
자세한 설명
The Set-VMBios cmdlet configures the BIOS of a Generation 1 virtual machine. Note: This cmdlet does not operate with Generation 2 virtual machine. If attempted, the cmdlet throws an error.
매개 변수
-ComputerName<String[]>
Specifies one or more Hyper-V hosts for which the BIOS is to be configured. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer — use “localhost” or a dot (“.”) to specify the local computer explicitly.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
. |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-DisableNumLock
Specifies that NumLock is to be disabled in the BIOS of the virtual machine to be configured.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-EnableNumLock
Specifies that NumLock is to be enabled in the BIOS of the virtual machine to be configured.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Passthru
Specifies that an Microsoft.HyperV.PowerShell.Bios object is to be passed through to the pipeline representing the BIOS to be configured.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-StartupOrder<BootDevice[]>
Specifies an array of boot devices representing the boot order in the BIOS of the virtual machine. The boot devices are specified as members of the BootDevices enumeration (CD, IDE, LegacyNetworkAdapter, Floppy).
Note: The other BootDevices enumeration values of VHD and NetworkAdapter are for Generation 2 VMs only, and are not valid with this cmdlet.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-VM<VirtualMachine[]>
Specifies the virtual machine for which the BIOS is to be configured.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue) |
와일드카드 문자 허용 여부 |
false |
-VMBios<VMBios[]>
Specifies an array of BIOS objects. The cmdlet configures the BIOS that you specify for the virtual machines. To obtain a BIOS object, use the Get-VMBios cmdlet.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue) |
와일드카드 문자 허용 여부 |
false |
-VMName<String[]>
Specifies the name of the virtual machine for which the BIOS is to be configured.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue) |
와일드카드 문자 허용 여부 |
false |
-Confirm
cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-WhatIf
cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- None by default; Microsoft.HyperV.PowerShell.Bios if –PassThru is specified.
예제
Example 1
This example disables the NumLock key by default on virtual machine TestVM.
PS C:\> Set-VMBios TestVM -DisableNumLock
Example 2
This example configures virtual machine TestVM to check for a boot device in the following order: floppy disk, network, CD drive, hard disk.
PS C:\> Set-VMBios TestVM -StartupOrder @("Floppy", "LegacyNetworkAdapter", "CD", "IDE")