I'm trying to create a new Deployment with SUG's with the commands:
New-CMSoftwareUpdateDeployment -DeploymentName "Name" -SoftwareUpdateGroupName "SUG" -CollectionName "Collection"
and get:
New-CMSoftwareUpdateDeployment : Not found At line:1 char:1
- New-CMSoftwareUpdateDeployment -DeploymentName "Name ...
-
+ CategoryInfo : NotSpecified: (Microsoft.Confi...pdateDeployment:NewSoftwareUpdateDeployment) [New-CMSoftwareUpdateDeployment], WqlQueryException + FullyQualifiedErrorId : UnhandledException,Microsoft.ConfigurationManagement.PowerShell.Cmdlets.Deployments.NewSoftwareUpdateDeployment
since I was unable to create with that option I opted with using the older version:
Start-CMSoftwareUpdateDeployment
and then get the deployment using:
Get-CMSoftwareUpdateDeployment | where {$_.AssignmentName -eq $DpName} | Set-CMSoftwareUpdateDeployment -RequirePostRebootFullScan $true
but I keep getting the same error:
Set-CMSoftwareUpdateDeployment : Not found At line:9 char:74
- ... $DpName} | Set-CMSoftwareUpdateDeployment -RequirePostRebootFullScan ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (Microsoft.Confi...pdateDeployment:SetSoftwareUpdateDeployment) [Set-CMSoftwareUpdateDeployment], WqlQueryException
- FullyQualifiedErrorId : UnhandledException,Microsoft.ConfigurationManagement.PowerShell.Cmdlets.Deployments.SetSoftwareUpdateDeployment
Additionally using Try/Catch I'm getting a strange error:
WARNING: The parameter 'PreDownloadUpdateContent' has been ignored because one or more conditions for its use have not been met. Not found , property = PreDownloadUpdateContent
Can anyone help me with this issue? Thanks in advance