Disable-AdfsEndpoint
Disable-AdfsEndpoint is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Disables an endpoint of AD FS.
Description
The Disable-AdfsEndpoint cmdlet disables an endpoint of Active Directory Federation Services (AD FS).
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?
-TargetAddressPath <string>
Required? false
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-TargetEndpoint <Endpoint>
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-TargetFullUrl <uri>
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-WhatIf <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
Syntax
Disable-AdfsEndpoint [[-TargetAddressPath] <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Disable- AdfsEndpoint [-TargetEndpoint] <Endpoint> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Disable- AdfsEndpoint [-TargetFullUrl] <Uri> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Disable-AdfsEndpoint
—————————Example 1—————————
Disable an endpoint
PS C:\>Disable-AdfsEndpoint -TargetAddressPath “/adfs/services/trust/13/Windows”
This command disables the WS-Trust 1.3 endpoint on the current federation server.
You can also read about
- Enable-AdfsEndpoint
- Get-AdfsEndpoint
- Set-AdfsEndpoint