Site icon TOSS

New-AdfsContactPerson

powershell

New-AdfsContactPerson is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.

Synopsis

Creates a contact person object.

Description

The New-AdfsContactPerson cmdlet creates a contact person object in ADFS.

Parameters

-Company
Specifies the company name of the contact person.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-EmailAddress <String[]>
    Specifies an array of e-mail addresses of the contact person.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-GivenName <String>
    Specifies the given name of the contact person.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Surname <String>
    Specifies the surname, or last name, of the contact person.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-TelephoneNumber <String[]>
    Specifies an array of telephone numbers of the contact person.

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

Syntax

New-AdfsContactPerson [-Company <String>] [-EmailAddress <String[]>] [-GivenName <String>] [-TelephoneNumber <String[]>] [-Surname <String>] [<CommonParameters>]

Notes
You can publish this contact person in the federation metadata of the Federation Service by using the Set-AdfsProperties cmdlet.

———————Example 1———————
Create and publish contact person object
PS C:> $CP = New-AdfsContactPerson -EmailAddress “support@TOSSolution.com”
PS C:> Set-AdfsProperties -ContactPerson $CP
The first command creates a contact person who has the specified address, and then assigns it to the $CP variable.
The second command uses the Set-AdfsProperties cmdlet to publish the contact person object to the Federation Service.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command New-AdfsContactPerson

You can also read about

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Exit mobile version