CRT icon indicating copy to clipboard operation
CRT copied to clipboard

The term 'Clear-ActiveToken' is not recognized as the name of a cmdlet

Open sssseossss opened this issue 3 years ago • 0 comments

Hi, script runs okay, and after the saving of one file i get the following:

[2021-12-06 08:22:47Z] - [+] Saving AzureADPSPermissions Report to the path: 'CRT\20211206T1019\Reports\AzureADPSPermissionsReport.csv'
C:\Users\XXXXXXXXXX\CRT\Get-CRTReport.ps1 : The term 'Clear-ActiveToken' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ .\Get-CRTReport.ps1
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-CRTReport.ps1

Any help appreciated! P.S. thanks for such a great tool!

sssseossss avatar Dec 06 '21 08:12 sssseossss