Remove-IDAuthenticationPolicyBlock
SYNOPSIS
Delete an authentication policy block
SYNTAX
Remove-IDAuthenticationPolicyBlock [-Name] <Object> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Delete an authentication policy block from the tenant by its policy path. -Name must be supplied in the `/Policy/<PolicyName>` path syntax; if it isn’t, the command warns and stops without calling the API.
EXAMPLES
Example 1
PS C:\> Remove-IDAuthenticationPolicyBlock -Name '/Policy/Default Policy'
Delete the authentication policy block at the specified policy path.
PARAMETERS
-Name
The path of the authentication policy block to delete, in the syntax `/Policy/<PolicyName>`. Also aliased as PolicySet. Accepts pipeline input by property name.
Type: Object
Parameter Sets: (All)
Aliases: PolicySet
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
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.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.