Restrict Powershell Script

Restrict or enable Powershell execution


Microsoft recommends restricting the Powershell Execution environment to secure against malicious attacks such as Cryptolocker etc. These scripts help secure Powershell from executing PS scripts and only interactive sessions are supported with the correct elevated privileges.

A custom field update is included at lines 12 and 15 that allow the Procedure to update a 'Powershell Status' custom field that can then be used to create Views for Policy Management use.

  • Name: Craig Allen
  • Company: Kaseya
  • Website:
  • Contact Developer
  • Summary
  • Restrict Powershell Script
  • Initially Released June 17th, 2016
  • Reviews
    Gravatar for Jaime
    by Jaime on September 22nd, 2016

    I've been meaning to write this for some time. I'd say the exchange is working!

    Gravatar for John Rutkowski
    John Rutkowski almost 3 years ago

    This should be part of a standard deployment it looks like

    Gravatar for Mike DeArmond
    Mike DeArmond 9 months ago

    Do either of these require a reboot to take effect?

    Gravatar for Craig Allen
    Craig Allen 9 months ago

    No neither script should require a reboot.