Forum Discussion

Afsar_Shariff's avatar
Afsar_Shariff
Brass Contributor
Oct 15, 2024

Creating content scan jobs in microsoft purview information protection scanner using powershell

Hello Everyone

 

Please let me know what method available to create content scan jobs and add repositories in automated way?

Is there any PowerShell method? I do not see  commands available to create content scan jobs in Microsoft purview information protection scanner.

 

Thank you in anticipation

1 Reply

  • WelkasWorld's avatar
    WelkasWorld
    Brass Contributor

    Hi,

    Yes, you can use PowerShell to create new content scan jobs within AIP scanner.
    You can use the Set-AIPScannerContentScanJob to achieve that. 

    Reference: https://learn.microsoft.com/en-us/powershell/module/azureinformationprotection/set-aipscannercontentscanjob?view=azureipps

    Hope this helps. 

Resources