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 Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
467 questions
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 42,511 Reputation points Microsoft Vendor
    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful