I give up. I've created a Windows 10 Provisioning Package that needs to be deployed and the only ways I can possibly deploy it with PDQ is with a powershell script. Every script I have written doesn't take...I'm not the best at writing scripts. I've read the Microsoft articles on the arugments and switches to use in powershell to add a provisioning package, but it keeps failing.
This is what I have and this is the error message I keep getting.
Also, I'm trying to avoid deploying these ppkg with SCCM. I want to use PDQ as my primary application to deploy applications:
PS C:\> Add-ProvisioningPackage -Path C:\Temp\TestPackage\TestPackage.ppkg -ForceInstall
Get-Process : A positional parameter cannot be found that accepts argument 'Add-ProvisioningPackage'.
At C:\windows\AdminArsenal\PDQDeployRunner\service-1\exec\user.ps1:1 char:1
+ PS C:\> Add-ProvisioningPackage -Path C:\Temp\TestPackage\TestPackage ...
+ CategoryInfo : InvalidArgument: (:) [Get-Process], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetProcessCommand
Please sign in to leave a comment.