Enable-WssMsoUser
Enable-WssMsoUser
Enables an online service account.
構文
Parameter Set: Default
Enable-WssMsoUser [-WssUserName] <String> [ <CommonParameters>]
詳細説明
The Enable-WssMsoUser cmdlet enables the online service account that is assigned to a local network user account. You can use this command after disabling an account with Disable-WssMsoUser.
パラメーター
-WssUserName<String>
Specifies the name of a user account. The cmdlet enables the online service account that is assigned to the user account that you specify.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue, ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
System.String
WssUserName – the local account name of user to be enabled.
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Enable an online service account
This command enables the online service account that is assigned to the user account named DavidChew.
PS C:\> Enable-WssMsoUser -WssUserName "DavidChew"