You need to open a support case then as there's something else going on here.
Powershell to run on a Cloud Distribution Point
Hello,
I have a Cloud Management Gateway used as Distribution point.
How do I pass a PowerShell to it?
$NewHashFolder = "E:\BCPublicationCache"
$NewHashSize = 5GB
New-Item -Path $NewHashFolder -ItemType Directory
$BCCache = Get-BCStatus
Set-BCCache -Path $BCCache.HashCache.CacheFileDirectoryPath -MoveTo $NewHashFolder -Force
$BCHashCache = Get-BCHashCache
$BCHashCache | Set-BCCache -SizeBytes $NewHashSize -Force
Should I deploy the command to the Cloud DP?
Should I try a connection to the cloud DP? How to do this?
Thanks,
Dom
3 additional answers
Sort by: Most helpful
-
Pavel yannara Mirochnitchenko 12,916 Reputation points MVP
Feb 24, 2022, 10:47 AM Is the E:\ drive on DP or local drive on workstation? Just thinking, what do you try to accomplish with the script and do you even need it?
-
Jason Sandys 31,411 Reputation points Microsoft Employee
Feb 24, 2022, 4:29 PM You cannot do this in a supported way. Why are you are trying to do this?
-
Duchemin, Dominique 2,006 Reputation points
Feb 24, 2022, 4:52 PM Hello,
I have a distribution error:
There is a package UCP00ABA which is failing to be distributed to the Cloud Management Gateway Distribution point then I find this article:
https://www.deploymentresearch.com/configmgr-error-distributing-content-to-a-cloud-dp/
PkgXferMgr.log
Package upload location is https://cmgo365prod.blob.core.windows.net/content-ucp00aba SMS_PACKAGE_TRANSFER_MANAGER 2/23/2022 1:48:55 AM 18444 (0x480C)
Failed to generate contentinfo for the package content. BranchCache feature might not be turned on. SMS_PACKAGE_TRANSFER_MANAGER 2/23/2022 1:48:56 AM 18444 (0x480C)Thanks,
Dom