CmdID / PowerShell / Cmdlets / Disable
Disable-AdfsEndpoint
Disables an endpoint of AD FS. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-PassThruReturns an object representing the item with which you are working.-TargetAddressPathSpecifies the address path of the endpoint.-TargetEndpointSpecifies the endpoint to disable.-TargetFullUrlSpecifies the full URL of the endpoint to disable.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.