Set-HcsPassword
Set-HcsPassword
Sets the password for a user account.
구문
Parameter Set: Default
Set-HcsPassword -Password <SecureString> -User <HcsUser> [-Force] [ <CommonParameters>]
자세한 설명
The Set-HcsPassword cmdlet sets the password for a specified user account.
The password must meet the following requirements for password complexity:
-- SSAdmin. Minimum of eight characters and maximum of 15 characters. Use this type of account to access Windows PowerShell Interface for StorSimple.
-- SnapShotManager. Minimum of 14 characters and maximum of 15 characters. Use this type of account to access for StorSimple SnapShot Manager.
Passwords must contain characters from at least three of the following classes:
-- English upper case letters: A, B, C, ...Z
-- English lower case letters: a, b, c, ...z
-- Westernized Arabic numerals: 0, 1, 2, ...9
-- Non-alphanumeric special characters, such as ?, !, %, $, #
매개 변수
-Force
사용자 확인을 요구하지 않고 명령을 실행합니다.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Password<SecureString>
Specifies a password. Specify a secure string for this parameter. To obtain a secure string, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString
. The cmdlet sets the password that you specify.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-User<HcsUser>
Specifies the user name for which to change the password.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- This cmdlet does not generate any output.
예제
Example 1: Set a password for a user
This command sets the password that StorSimple SnapShot Manager uses to connect to the device.
PS C:\> Set-HcsPassword -User ApplicationHost