Skip to content

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

Description

@sssseossss

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions