Our server team use ansible to run remotely a PowerShell script for checking server/s resources.
The problem the script is making notification noise, how we will able to exclude or whitelist the certain scripts like C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand ..some commands.
none
[edited by: sndyblz at 6:50 AM (GMT -8) on 23 Dec 2024]