The following Windows PowerShell commands create a deployment share that is linked to the Production deployment share and resides under the \\remote_server_name\Deployment$ share. The Everything selection profile is used to determine which content is replicated to the linked deployment share. Content from the Production deployment share will be merged with content that already exists in the \\remote_server_name\Deployment$ share.
· Add-PSSnapIn Microsoft.BDD.PSSnapIn
· New-PSDrive -Name "DS002" -PSProvider MDTProvider -Root "D:\Production Deployment Share"
· New-item -path "DS002:\Linked Deployment Shares" -enable "True" -Name "LINKED001" -Comments "" -Root "\\RemoteServerName\Deployment$" -SelectionProfile "Everything" -Replace "False" -Verbose