編輯

共用方式為


Disable-AdfsApplicationGroup

Disables an application group.

Syntax

Disable-AdfsApplicationGroup
       [-TargetApplicationGroupIdentifier] <String>
       [-PassThru]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Disable-AdfsApplicationGroup
       [-TargetName] <String>
       [-PassThru]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Disable-AdfsApplicationGroup
       [-TargetApplicationGroup] <ApplicationGroup>
       [-PassThru]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

The Disable-AdfsApplicationGroup cmdlet disables an application group in Active Directory Federation Services (AD FS).

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetApplicationGroup

Specifies an application group.

Type:ApplicationGroup
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TargetApplicationGroupIdentifier

Specifies the ID of the application group.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TargetName

Specifies the name of an application group.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ApplicationGroup

ApplicationGroup objects are received by the TargetApplicationGroup parameter.

String

String objects are received by the TargetApplicationGroupIdentifier and TargetName parameters.

Outputs

ApplicationGroup

Returns the disabled ApplicationGroup object when the PassThru parameter is specified. By default, this cmdlet does not generate any output.