Disable-AdfsClient

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

Synopsis

Disables an OAuth 2.0 client that is currently registered with AD FS.

Description

The Disable-AdfsClient cmdlet disables an OAuth 2.0 client that is currently registered with Active Directory Federation Services (AD FS). Once you disable the client, AD FS no longer authorizes requests to access resources from that OAuth 2.0 client.

Parameters

-Confirm <>

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

-PassThru <>

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

-TargetClient <AdfsClient>

    Required?                    true
    Position?                    0
    Default value                
    Accept pipeline input?       true (ByValue)
    Accept wildcard characters?  

-TargetClientId <string>

    Required?                    true
    Position?                    0
    Default value                
    Accept pipeline input?       true (ByPropertyName)
    Accept wildcard characters?  

-TargetName <string>

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

-WhatIf <>

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

Syntax

Disable- AdfsClient [[-TargetName] <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Disable- AdfsClient [-TargetClientId] <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Disable-AdfsClient [-TargetClient] <AdfsClient> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

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

Get-Command Disable-AdfsClient

Get-Command Disable-AdfsClient powershell script command cmdlet adfs

You can also read about

  • Add-AdfsClient
  • Enable-AdfsClient
  • Get-AdfsClient
  • Remove-AdfsClient
  • Set-AdfsClient

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

Leave a Reply

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