編輯

共用方式為


New-AdfsApplicationGroup

Creates an application group.

Syntax

New-AdfsApplicationGroup
   [-Name] <String>
   [[-ApplicationGroupIdentifier] <String>]
   [-Description <String>]
   [-Disabled]
   [-PassThru]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

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

Parameters

-ApplicationGroupIdentifier

Specifies the ID of the application group.

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

-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

-Description

Specifies a description for the application group.

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

-Disabled

Indicates whether the application group is disabled.

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

-Name

Specifies a name for the application group.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
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

-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

String

String objects are received by the ApplicationGroupIdentifier, Description, and Name parameters.

Outputs

ApplicationGroup

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