編輯

共用方式為


Get-CsAuthConfig

Use the Get-CsAuthConfig cmdlet to retrieve the authentication configuration for your organization.

Syntax

Get-CsAuthConfig
   [[-Pool] <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Use the Get-CsAuthConfig cmdlet to retrieve the authentication configuration for your organization.

This cmdlet gets authentication configuration from two server roles: Registrar and WebServices.

It is meant to only be run at the global level.

If you do run it at the pool level and only one of the roles are present on the pool, the cmdlet will return the setting that corresponds to the role that exists on the pool and the global settings for the role that doesn't exist on the pool.

If neither role is present on the pool, it will return an error.

If both roles are present for the pool, but policies are not defined at the pool level, the cmdlet will return an error.

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2019

-Pool

{{Fill Pool Description}}

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Skype for Business Server 2019

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2019

Inputs

System.String

Outputs

System.Object