itsmeroger2018
Member
- Messages
- 10
- Reaction score
- 0
- Points
- 1
Hi All
i am new to sccm, i need to run a PowerShell script on few servers.
lets say i have a folder1-inside folder1 i have folder2(this folder has files) and a PowerShell script.
folder1-->folder2 & script.ps1
i have a collection of servers. i want to run script.ps1 on this collection.
So i need to copy folder1 on all the servers from sccm and execute the script.
if the entire folder1 is copied to temp. the PowerShell script should execute in this way c:\temp\folder1\script.ps1.
Experts guide me how to achieve this.
i am new to sccm, i need to run a PowerShell script on few servers.
lets say i have a folder1-inside folder1 i have folder2(this folder has files) and a PowerShell script.
folder1-->folder2 & script.ps1
i have a collection of servers. i want to run script.ps1 on this collection.
So i need to copy folder1 on all the servers from sccm and execute the script.
if the entire folder1 is copied to temp. the PowerShell script should execute in this way c:\temp\folder1\script.ps1.
Experts guide me how to achieve this.


