Set-PcsvDeviceNetworkConfiguration
업데이트 날짜: 2015년 2월
적용 대상: Windows 10 Technical Preview, Windows Server Technical Preview
Set-PcsvDeviceNetworkConfiguration
Changes the network configuration of a PCSV device.
구문
Parameter Set: ByComputerName
Set-PcsvDeviceNetworkConfiguration [-TargetAddress] <String> [-Credential] <PSCredential> [-ManagementProtocol] <ManagementProtocol> {WSMan | IPMI} [[-Port] <UInt16> ] [-Authentication <Authentication> {Default | Basic | Digest} ] [-CimSession <CimSession[]> ] [-IPv4Address <String> ] [-IPv4DefaultGateway <String> ] [-IPv4SubnetMask <String> ] [-PassThru] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-ThrottleLimit <Int32> ] [-TimeoutSec <UInt32> ] [-UseSSL] [-IPv4AddressOrigin] <PossibleIPv4Origins> {Static | DHCP} [ <CommonParameters>]
Parameter Set: ByNoConnectionParams
Set-PcsvDeviceNetworkConfiguration [-CimSession <CimSession[]> ] [-IPv4Address <String> ] [-IPv4DefaultGateway <String> ] [-IPv4SubnetMask <String> ] [-PassThru] [-ThrottleLimit <Int32> ] [-TimeoutSec <UInt32> ] [-IPv4AddressOrigin] <PossibleIPv4Origins> {Static | DHCP} [ <CommonParameters>]
Parameter Set: InputObject (cdxml)
Set-PcsvDeviceNetworkConfiguration [-CimSession <CimSession[]> ] [-IPv4Address <String> ] [-IPv4DefaultGateway <String> ] [-IPv4SubnetMask <String> ] [-PassThru] [-ThrottleLimit <Int32> ] [-IPv4AddressOrigin] <PossibleIPv4Origins> {Static | DHCP} [ <CommonParameters>]
자세한 설명
The Set-PcsvDeviceNetworkConfiguration cmdlet changes the network configuration of a Physical Computer System View (PCSV) device. You can configure the network settings of a device statically or dynamically, by using the DHCP service. If you specify a static network configuration, you must specify the IP address, subnet mask, and default gateway. This cmdlet currently supports devices that use the Intelligent Platform Management Interface (IPMI) protocol. Changing the network configuration disrupts the out-of-band session, and, therefore, this cmdlet can only be run on an in-band connection. To use with an in-band connection, you must have elevated privileges.
매개 변수
-Authentication<Authentication>
Specifies an authentication method to use for devices managed by WS-Management. Do not specify this parameter for devices managed by using IPMI. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Basic
-- Digest
-- Default
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-CimSession<CimSession[]>
원격 세션이나 원격 컴퓨터에서 cmdlet을 실행합니다. 컴퓨터 이름이나 New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 세션 개체를 입력하세요. 기본값은 로컬 컴퓨터 상의 현재 세션입니다.
별칭 |
Session |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Credential<PSCredential>
Specifies a PSCredential object based on a user name and password. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential
. For IPMI devices, specify credentials that correspond to a user with Administrator privileges on the device.
별칭 |
none |
필수 여부 |
true |
위치 |
3 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-IPv4Address<String>
Specifies an IPv4 address for the PCSV device.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-IPv4AddressOrigin<PossibleIPv4Origins>
Specifies how the IP address is acquired. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Static
-- DHCP
별칭 |
none |
필수 여부 |
true |
위치 |
3002 |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-IPv4DefaultGateway<String>
Specifies an IPv4 default gateway for the PCSV device.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-IPv4SubnetMask<String>
Specifies an IPv4 subnet mask for the PCSV device.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ManagementProtocol<ManagementProtocol>
Specifies a management protocol used to communicate with a device. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- WSMAN
-- IPMI
This cmdlet currently supports only devices that use the IPMI protocol.
별칭 |
MP |
필수 여부 |
true |
위치 |
4 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-PassThru
작업 중인 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Port<UInt16>
Specifies a port on the remote computer to use for the management connection. If you do not specify a port, the cmdlet uses the following default ports:
-- IPMI and WSMAN over HTTP. Port 623.
-- WSMAN over HTTPS. Port 664.
별칭 |
none |
필수 여부 |
false |
위치 |
5 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-SkipCACheck
Indicates that the client connects by using HTTPS without validating that a trusted certification authority (CA) signed the server certificate. Do not specify this parameter if you specify a value of IPMI for the ManagmentProtocol parameter.
Do not specify this parameter unless you can establish trust in another way, such as if the remote computer is part of a network that is physically secure and isolated, or if the remote computer is a trusted host in a Windows Remote Management (WinRM) configuration.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-SkipCNCheck
Indicates that the certificate common name (CN) of the server does not need to match the host name of the server. Do not specify this parameter if you specify a value of IPMI for the ManagmentProtocol parameter.
Specify this parameter only for managing devices by using WSMAN over HTTPS. Be sure to specify this parameter only for trusted computers.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-SkipRevocationCheck
Indicates that the cmdlet skips the revocation check of server certificates.
Be sure to specify this parameter only for trusted computers.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-TargetAddress<String>
Specifies the name or IP address of the remote hardware device.
별칭 |
CN,ComputerName,IpAddress |
필수 여부 |
true |
위치 |
2 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-ThrottleLimit<Int32>
Cmdlet을 실행하도록 설정할 수 있는 동시 작업의 최대 수를 지정합니다. 이 매개 변수를 생략하거나 값으로 0
을 입력하면 Windows PowerShell®은 컴퓨터에서 실행 중인 CIM cmdlet의 수에 따라 cmdlet에 대한 최적의 스로틀 제한을 계산합니다. 스로틀 제한은 현재 cmdlet에만 적용되고, 세션이나 컴퓨터에는 적용되지 않습니다.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-TimeoutSec<UInt32>
Specifies how long to wait, in seconds, for a response from the remote hardware device. After this period, the cmdlet abandons the connection attempt.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-UseSSL
Indicates that the server connects to the target computer by using SSL. WSMAN encrypts all content transmitted over the network. Specify this parameter to use the additional protection of HTTPS instead of HTTP. If you specify this parameter and SSL is not available on the connection port, the command fails.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
Microsoft.Management.Infrastructure.CimInstance, Microsoft.Management.Infrastructure.CimInstance#root/Microsoft/Windows/HardwareManagement/MSFT_PCSVDevice
This cmdlet returns a PCSV device object, if you specify the PassThru parameter.
예
Example 1: Configure network settings dynamically
This command configures network settings for the PCSV device. The DHCP service updates the IP address, subnet mask and default gateway.
PS C:\> Set-PcsvDeviceNetworkConfiguration -IPv4AddressOrigin DHCP
Example 2: Configure network settings statically
This command configures network settings for the PCSV device. The command specifies the IP address, subnet mask, and default gateway for the device.
PS C:\> Set-PcsvDeviceNetworkConfiguration -IPv4AddressOrigin Static -IPv4Address "10.0.1.2" -IPv4DefaultGateway "10.0.0.1" -IPv4SubnetMask "255.255.0.0"