Update-ADRMS
Update-ADRMS
Updates an existing deployment of Server.
구문
Parameter Set: Default
Update-ADRMS [-ServiceAccount] <PSCredential> [[-PrivateKeyPassword] <SecureString> ] [[-NewCspName] <String> ] [[-Force]] [-Credential <PSCredential> ] [-UpdateCryptographicModeOnly] [-Confirm] [-WhatIf] [ <CommonParameters>]
자세한 설명
The Update-ADRMS cmdlet updates the Active Directory Rights Management Services (AD RMS) server role on a server that has been upgraded to this version of Windows. The cmdlet can also be used to update the cryptographic mode on a server.
매개 변수
-Credential<PSCredential>
Specifies user credentials to use for the update process. If this parameter is specified, you will be prompted to enter credentials. This parameter operates in a similar manner to the RunAs command.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Force
Forces completion of the command by overriding restrictions that would prevent it from succeeding (so long as a the changes made do not compromise security).
별칭 |
없음 |
필수 여부 |
false |
위치 |
4 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-NewCspName<String>
Specifies the new name of the cryptographic service provider (CSP) to use for storing the private key of the server. This parameter is used in combination with the –UpdateCryptographicMode parameter for servers that are using CSP key storage.
별칭 |
없음 |
필수 여부 |
false |
위치 |
3 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-PrivateKeyPassword<SecureString>
Specifies the password for the AD RMS centrally managed key.
별칭 |
없음 |
필수 여부 |
false |
위치 |
2 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ServiceAccount<PSCredential>
Specifies the identity of the domain account that is used for the service account.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-UpdateCryptographicModeOnly
If set, indicates that only the cryptographic mode of the server is to be updated. To update the cryptographic mode of an server, you must be logged in with an account that has membership in the local Enterprise Administrators Group on that server. If the server is using CSP key storage, the –NewCspName parameter should also be specified.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
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에 파이프할 수 있는 개체의 유형입니다.
- SwitchParameter, string, PSCredential, SecureString
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
Upgrades an server and cluster that is using a cluster key password. The password must be specified securely as console input. The Get-Credential cmdlet will launch a popup dialog to enter the Service Account credentials (username and password) that are also required to upgrade .
C:\PS>$mySecureStringPassword = ConvertTo-SecureString –String <password> -AsPlainText -Force
$myCred = Get-Credential
Update-ADRMS -PrivateKeyPassword $mySecureStringPassword -ServiceAccount $myCred
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
Updates an server that is using a cluster key password to cryptographic mode 2. The Get-Credential command will launch a popup dialog to enter the Service Account credentials (username and password) which are required for this update. The cluster key password is not required; but if the server is using CSP key storage, the –NewCspName parameter must be included.
C:\PS>$myCred = Get-Credential
Update-ADRMS -UpdateCryptographicModeOnly -ServiceAccount $myCred