Disable-WssMsoUser

Disable-WssMsoUser

Disables an online service account.

構文

Parameter Set: Default
Disable-WssMsoUser [-WssUserName] <String> [ <CommonParameters>]

詳細説明

The Disable-WssMsoUser cmdlet disables the online service account that is assigned to a local user account. This prevents the disabled account from using the online portal.

パラメーター

-WssUserName<String>

Specifies the name of a user account. The cmdlet disables the online service account that is assigned to the 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 - local network account name of user.

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Disable a Microsoft account

This command disables the online service account that is assigned to the user account named PattiFuller.

PS C:\> Disable-WssMsoUser -WssUserName "PattiFuller"

関連トピック

Add-WssMsoUser

Enable-WssMsoUser

Get-WssMsoUser

Remove-WssMsoUser