For "Download content from distribution point and run locally"....
Set-CMApplication $ApplicationName -SendToProtectedDistributionPoint $True

and "Allow clients to use a fallback source location for content"...
Set-CMDeploymentType -AllowClientsToUseFallbackSourceLocationForContent
$true -ApplicationName $ApplicationName -DeploymentTypeName
$DeploymentTypeName -MsiOrScriptInstaller

Obviously these are examples and will need to be modified to work with your
script.

On Wed, Aug 12, 2015 at 4:21 AM Mawdsley R. <[email protected]> wrote:

> Morning,
>
>
>
> So the script below now working fine for ticking the “Allow clients to use
> a fallback source location for content” box.
>
>
>
> But I also need it to set the dropdown box to “Download content from
> distribution point and run locally”..  and on the Distribution Settings
> page, “Distribute the content for this package to preferred distribution
> points”.
>
>
>
> I can’t find any powershell cmdlets for these,  any ideas?
>
>
>
> Thanks,
>
> Rich
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *
> [email protected]
> *Sent:* 11 August 2015 15:14
> *To:* [email protected]
> *Subject:* [mssms] RE: Powershell Script
>
>
>
> Hi,
>
>
>
> And check this
>
>
>
>
> http://www.david-obrien.net/2013/04/set-cmdeploymenttype-via-powershell-for-configmgr-2012/
>
>
>
>
>
>
>
> Maarten
>
>
>
>
>
>
>
>
>
> *From:* [email protected] [
> mailto:[email protected] <[email protected]>] *On
> Behalf Of *Mawdsley R.
> *Sent:* Tuesday, August 11, 2015 14:34
> *To:* [email protected]
> *Subject:* [mssms] Powershell Script
>
>
>
> Hi All,
>
>
>
> I need to set Fallback on all my applications, and a quick google found me
> the below page, however the script doesn't work at all for me, and I’m yet
> to tick off the “learn powershell” from my to-do list..
>
>
>
>
> http://www.configmgr.no/2014/04/24/script-set-allow-fallback-for-deployment-types/
>
>
>
> Any ideas what wrong?
>
>
>
>
>
> Thankyou
>
> Rich
>
>
>
>
>
>
> ================================================================================================
> De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
> uitsluitend bestemd voor de geadresseerde.
> Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet
> te gebruiken en de afzender direct te informeren door het bericht te
> retourneren.
>
> ================================================================================================
> The information contained in this message may be confidential and is
> intended to be exclusively for the addressee.
> Should you receive this message unintentionally, please do not use the
> contents herein and notify the sender immediately by return e-mail.
>
> ================================================================================================
>
>
>



Reply via email to