Hi All,
I would like to ask for a command that I can be use to deploy a powershell script that will install SNMP features and community string. I already have a powershell script that can be perfectly run manually.
* "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -executionpolicy bypass -command ".\SNMPserver2008 R2.ps1"
* powershell.exe -executionpolicy bypass -command ".\SNMP server2008 R2.ps1"
* powershell.exe -executionpolicy bypass -file "\server1\OSD\utility scripts\SNMP server2008 R2-other.ps1"
I tried the above commands but none successfully added SNMP feature on test server.. Report: "Status of a specified package and program deployment" showed that the test server received the package, but failing to install and didn't rerun even the configuration used "Rerun for failed deployment"