-
-
Save joshivey/2aff276e0348033769cc to your computer and use it in GitHub Desktop.
Event ID Run Program Command Line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EventID 30196 - Software Updates Deployment Created | |
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -NoProfile -File "C:\Path\To\ScriptName.ps1" -msgID 30196 -AssignmentID %msgis02 | |
# EventID 30197 - Software Updates Deployment Modified | |
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -NoProfile -File "C:\Path\To\ScriptName.ps1" -msgID 30197 -AssignmentID %msgis02 | |
# | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment