Deploy Application with Powershell set Content, Disable peer-to-peer content distribution RRS feed

  • Question

  • Hello,

    I deploy AppV5 Application with Powershell. I haven't found a possibility to Set in the Deployment Types / Content / Enable peer-to-peer content distribution with Powershell.

    Anybody an Idee??

    Thx Paul

    Friday, March 16, 2018 8:57 AM

All replies

  • Hello,

    In CM built-in powershell cmdlet, Set-CMDeploymentType has '-EnablePeertoPeerContentDistribution <boolean>' property. Perhaps you can make use of this cmdlet.


    Set-CMDeploymentType -ApplicationName <String> -AppV5xInstaller -DeploymentTypeName <String> [-AdministratorComment <String> ] [-AllowClientsToUseFallbackSourceLocationForContent <Boolean> ] [-ContentLocation <String> ] [-EnablePeertoPeerContentDistribution <Boolean> ] [-Language <String[]> ] [-NewDeploymentTypeName <String> ] [-OnFastNetworkMode <OnFastNetworkMode> {RunFromNetwork | RunLocal} ] [-OnSlowNetworkMode <ContentHandlingMode> {DoNothing | Download | DownloadContentForStreaming} ] [-PersistContentInClientCache <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Richard.Knight Thursday, March 22, 2018 9:08 AM
    Thursday, March 22, 2018 7:53 AM