Set-AdfsAccessControlPolicy

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

Synopsis

Modifies an AD FS access control policy.

Description

The Set-AdfsAccessControlPolicy cmdlet modifies an Active Directory Federation Services (AD FS) access control policy.

Parameters

-Description
Specifies a description for the policy.

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

-Identifier
Specifies an ID for the policy.

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

-Name
Specifies a name for the policy.

Required?                    false
Position?                    named
Default value                none
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.

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

-PolicyMetadata
Specifies metadata for the policy.

Required?                    false
Position?                    named
Default value                none
Accept pipeline input?       true(ByPropertyName)
Accept wildcard characters?  false

-PolicyMetadataFile
Specifies the metadata file for the policy.

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

-TargetAccessControlPolicy

Required?                    true
Position?                    1
Default value                none
Accept pipeline input?       true(ByValue)
Accept wildcard characters?  false

-TargetIdentifier
Specifies the ID of the target.

Required?                    true
Position?                    1
Default value                none
Accept pipeline input?       true(ByValue)
Accept wildcard characters?  false

-TargetName
Specifies the target name.

Required?                    true
Position?                    1
Default value                none
Accept pipeline input?       true(ByValue)
Accept wildcard characters?  false

-Confirm
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.

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

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

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

Syntax

Set-AdfsAccessControlPolicy [-Name <String>] [-Identifier <String>] [-Description <String>] [-PolicyMetadata <PolicyMetadata>] [-PolicyMetadataFile <String>] [-PassThru] [-TargetName] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Set-AdfsAccessControlPolicy [-Name <String>] [-Identifier <String>] [-Description <String>] [-PolicyMetadata <PolicyMetadata>] [-PolicyMetadataFile <String>] [-PassThru] [-TargetIdentifier] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Set-AdfsAccessControlPolicy [-Name <String>] [-Identifier <String>] [-Description <String>] [-PolicyMetadata <PolicyMetadata>] [-PolicyMetadataFile <String>] [-PassThru] [-TargetAccessControlPolicy] <AdfsAccessControlPolicy> [-WhatIf] [-Confirm] [<CommonParameters>]

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

Get-Command Set-AdfsAccessControlPolicy

Get-Command Set-AdfsAccessControlPolicy powershell script command cmdlet adfs

You can also read about

  • Get-AdfsAccessControlPolicy
  • New-AdfsAccessControlPolicy
  • Remove-AdfsAccessControlPolicy

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

2 Replies to “Set-AdfsAccessControlPolicy”

Leave a Reply

Your email address will not be published. Required fields are marked *