CmdID / PowerShell / Cmdlets / Clear
Clear-AssignedAccess
Clears assigned access configured account settings. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.