PowerShell script use in automon