Set-WssUserDashboardVisibility

Set-WssUserDashboardVisibility

Modifies whether to make a user account visible in the dashboard.

Syntax

Parameter Set: UserHidden
Set-WssUserDashboardVisibility [-Name] <String> [-Hidden] [ <CommonParameters>]

Parameter Set: UserVisible
Set-WssUserDashboardVisibility [-Name] <String> [-Visible] [ <CommonParameters>]

Detailed Description

The Set-WssUserDashboardVisibility cmdlet modifies whether to make a user account visible in the Windows Server Essentials dashboard.

Parameters

-Hidden

Indicates that the cmdlet hides the user account in the dashboard.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies a name. The cmdlet modifies the visibility for the user account that has the name that you specify.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Visible

Indicates that the cmdlet shows the user account in the dashboard.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Show a user in the dashboard

This command shows the specified user account in the dashboard by specifying the Visible parameter.

PS C:\> Set-WssUserDashboardVisibility -Name "PattiFuller" -Visible

Example 2: Hide a user in the dashboard

This command hides the specified user account in the dashboard by specifying the Hidden parameter.

PS C:\> Set-WssUserDashboardVisibility -Name "PattiFuller" -Hidden
PS C:\> 

Get-WssUser