Redigera

Dela via


New-AdfsOrganization

Creates a new organization information object.

Syntax

New-AdfsOrganization
   -DisplayName <String>
   -OrganizationUrl <Uri>
   [-Name <String>]
   [<CommonParameters>]

Description

The New-AdfsOrganization cmdlet creates an information object for an organization in Active Directory Federation Services (AD FS) 2.0.

Examples

Example 1: Create a new organization

PS C:\> New-AdfsOrganization -DisplayName "Fabrikam" -OrganizationUrl https://fabrikam.com

This command adds a new organization named Fabrikam in the AD FS.

Parameters

-DisplayName

Specifies the display name of the organization.

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

-Name

Specifies the name of the organization.

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

-OrganizationUrl

Specifies the URL of the organization.

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

Inputs

None

Outputs

Microsoft.IdentityServer.PowerShell.Resources.Organization

This cmdlet generates a class structure that represents the organization object for the AD FS.

Notes

  • You can publish this information by using the Set-AdfsProperties cmdlet.