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
-
Jason Sandys 31,286 Reputation points Microsoft Employee
2022-02-24T17:08:03.343+00:00
3 additional answers
Sort by: Most helpful
-
Pavel yannara Mirochnitchenko 12,491 Reputation points MVP
2022-02-24T10:47:21.65+00:00 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,286 Reputation points Microsoft Employee
2022-02-24T16:29:45.193+00:00 You cannot do this in a supported way. Why are you are trying to do this?
-
Duchemin, Dominique 2,006 Reputation points
2022-02-24T16:52:38.197+00:00 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