harveybham
Well-Known Member
- Messages
- 86
- Solutions
- 1
- Reaction score
- 5
- Points
- 8
Hi All,
I have a Powershell script that we have created that we need to push to all machines.
The script needs to look at a .csv file (Same patch as the script) and it needs to pull the hostname and another field.
Inside the same folder is a uninstall tool which also needs to run.
Doing this manually it works. So I run the script , it looks up the uninstall, it looks up the csv and it works.
What is the best way to push this via SCCM? Iv tested using a package and it says installed but it has not removed the program.
The command line i used is Command line: Powershell.exe -ExecutionPolicy ByPass -File "ScriptName"
Thanks
I have a Powershell script that we have created that we need to push to all machines.
The script needs to look at a .csv file (Same patch as the script) and it needs to pull the hostname and another field.
Inside the same folder is a uninstall tool which also needs to run.
Doing this manually it works. So I run the script , it looks up the uninstall, it looks up the csv and it works.
What is the best way to push this via SCCM? Iv tested using a package and it says installed but it has not removed the program.
The command line i used is Command line: Powershell.exe -ExecutionPolicy ByPass -File "ScriptName"
Thanks