Passing a parameter to a Powershell Script
Evening,
I'm trying to deploy a powershell script that needs a parameter. I'm having trouble getting it to accept the parameter. Could someone tell me where to put the parameter? Here is what I have so far. I need to add the parameter -Basic
Thanks
Gareth
0
Comments
It looks like you are telling PDQ to run PowerShell via a .ps1 file. If I am understanding you correctly, you need to have the parameter in the .ps1 file or just copy the entire code into the details and setup the parameter there.
I recommend using an Install step. It has a Parameters field.
my 5 cents... easier is to make Powershell Step than use that technet script... Or make multiple steps with different rsat tools and define parameters like IF member of this collection then install this step etc... if you have corp env you need disable temporarily wsus