Appendix: Scripts
Script | Purpose | Rule/Task |
---|---|---|
BranchCache.HostedCacheClientNodeHierarchy.Discovery.vbs |
Discover the Hosted Cache Branch this computer belongs to based on the Hosted Cache Server specified by Group Policy. |
Hosted Cache Client Node Hierarchy Discovery |
BranchCache.HostedCacheServerNodeHierarchy.Discovery.vbs |
Discover the Hosted Cache Branch this computer belongs to based on the Hosted Cache Server name |
Hosted Cache Node Hierarchy Discovery |
BranchCache.DistributedCacheClientNodeHierarchy.Discovery.vbs |
Discover the Distributed Cache Client Group this computer belongs to based on its AD Site attribute. |
Distributed Cache Client Node Hierarchy Discovery |
BranchCache.IISNodeHierarchy.Discovery.vbs |
Discover the BranchCache-Capable IIS Server Group this computer belongs to. |
IIS Node Hierarchy Discovery |
BranchCache.FileServerNodeHierarchy.Discovery.vbs |
Discover the BranchCache-Capable File Server Group this computer belongs to. |
File Server Node Hierarchy Discovery |
Microsoft.Windows.BranchCache.HostedCacheClient.FixLocation.vbs |
This task corrects the Hosted Cache location format (by adding a trailing null character). This task resolves the incorrect Hosted Cache client discovery issue. This task has no effect if the machine is configured via Group Policy |
Correct Hosted Cache name format in registry |
Microsoft.Windows.BranchCache.CompositeWriteActionForTask.SetHostedCacheName.vbs |
This task configures the hosted cache with the name that the clients used to connect to it. Override the task parameters to specify the correct name. |
Specify Hosted Cache name used by clients |
Microsoft.Windows.BranchCache.HostedCacheServer.SetServiceTask.vbs |
This task re-configures the machine as Hosted Cache and enables appropriate firewall rules. This task has no effect if the machine is configured via Group Policy. This task does not fix the SSL certificate binding for the Hosted Cache port. Please refer to deployment guide to see how to bind a SSL certificate to be used by hosted cache. |
Re-configure Hosted Cache mode |
Microsoft.Windows.BranchCache.HostedCacheServer.AddUrlAclTask.vbs |
This task resets the HTTP namespace reservation so that clients can offer data to the hosted cache. |
Reset HTTP namespace reservation |
Microsoft.Windows.BranchCache.ClientBase.AddUrlAclTask.vbs |
This task resets the HTTP namespace reservation so that other peers or hosted cache can retrieve data from it. |
Reset HTTP namespace reservation |