Forum Discussion

Deleted's avatar
Deleted
Mar 14, 2025

Does Intune itself hide the PowerShell script execution window?

Does Intune itself hide the PowerShell script execution window, even if I don't include a hidden or other command in the script?

  • micheleariis's avatar
    micheleariis
    Steel Contributor

    Hi, yes, Intune runs PowerShell scripts in a hidden context by default.

    Even if you don't add any commands to explicitly hide the window, the script executes without displaying the PowerShell window to the user.

Resources