Share via

Set-CMDeploymentType -EnableContentLocationFallback

miguel rodriguez 41 Reputation points
2020-09-16T12:55:20.447+00:00

Hi all,

trying to use Set-CMDeploymentType -EnableContentLocationFallback $true without any luck so far.
I get

  • CategoryInfo : InvalidArgument: (:) [Get-WmiObject], ManagementException
  • FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

no matter what parameters i supply.
Other parameters work just fine...

last try was
Get-CMDeploymentType -DeploymentTypeName $DTNAME -ApplicationName $APPLICATIONNAME | Set-CMDeploymentType -EnableContentLocationFallback $TRUE

has anyone used this parameter successfully?

thx
Miguel

Microsoft Security | Intune | Configuration Manager | Application
0 comments No comments

Answer accepted by question author

AllenLiu-MSFT 49,441 Reputation points Microsoft External Staff
2020-09-17T08:15:54.997+00:00

@miguel rodriguez
Thank you for posting in Microsoft Q&A forum.
I test many parameter combinations in my lab, and found we may need to use parameter -ScriptContent and -MsiOrScriptInstaller with -EnableContentLocationFallback.

And here is a warning of the results:
WARNING: The cmdlet 'Set-CMDeploymentType' has been deprecated and may be removed in a future release. The cmdlet 'Set-CMScriptDeploymentType/Set-CMMsiDeploymentType' may be used as a replacement.
25561-39.jpg


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.