Skip to main content
McAfee MVISION Cloud

Execute Microsoft Windows PowerShell Commands

On the Incidents > Policy Incidents page, for some incidents, the Cloud Card provides remediation steps. Some of these remediation steps require you to use Microsoft Windows PowerShell Commands. 

Use the following steps, with links to Microsoft documentation. 

To execute Windows PowerShell commands:

  1. Open PowerShell. For details, see Starting Windows PowerShell
  2. Connect to the Microsoft service with administrator credentials. 
    • Connect to the SharePoint Online PowerShell (Account). For details, see Connect-SPOService
    • Connect to the SharePoint Online PowerShell (Site, Group). For details, see Connect-PnPOnline. 
  3. Once you have connected to the Microsoft service, you can execute the command provided in the remediation steps.
    For example:

Set-SPOTenant -AllowEditing $false 

  • Was this article helpful?