@@ -28,39 +28,39 @@ Verify this behavior [on a client](#verify-on-a-client) or [on the server](#veri
2828
29291 . Open PowerShell and run the following command: ` Get-DeliveryOptimizationStatus ` .
3030
31- For example:
32-
33- ``` PowerShell
34- PS C:\> Get-DeliveryOptimizationStatus
35-
36- FileId : ec523d49c4f7c3c4444f0d9b952286ce40fdcee4
37- FileSize : 549064
38- TotalBytesDownloaded : 549064
39- PercentPeerCaching : 0
40- BytesFromPeers : 0
41- BytesFromHttp : 0
42- Status : Caching
43- Priority : Background
44- BytesFromCacheServer : 549064
45- BytesFromLanPeers : 0
46- BytesFromGroupPeers : 0
47- BytesFromInternetPeers : 0
48- BytesToLanPeers : 0
49- BytesToGroupPeers : 0
50- BytesToInternetPeers : 0
51- DownloadDuration : 00:00:00.0780000
52- HttpConnectionCount : 2
53- LanConnectionCount : 0
54- GroupConnectionCount : 0
55- InternetConnectionCount : 0
56- DownloadMode : 99
57- SourceURL : http://au.download.windowsupdate.com/c/msdownload/update/software/defu/2019/09/am_delta_p
58- atch_1.301.664.0_ec523d49c4f7c3c4444f0d9b952286ce40fdcee4.exe
59- NumPeers : 0
60- PredefinedCallerApplication : WU Client Download
61- ExpireOn : 9/6/2019 8:36:19 AM
62- IsPinned : False
63- ```
31+ For example:
32+
33+ ``` PowerShell
34+ PS C:\> Get-DeliveryOptimizationStatus
35+
36+ FileId : ec523d49c4f7c3c4444f0d9b952286ce40fdcee4
37+ FileSize : 549064
38+ TotalBytesDownloaded : 549064
39+ PercentPeerCaching : 0
40+ BytesFromPeers : 0
41+ BytesFromHttp : 0
42+ Status : Caching
43+ Priority : Background
44+ BytesFromCacheServer : 549064
45+ BytesFromLanPeers : 0
46+ BytesFromGroupPeers : 0
47+ BytesFromInternetPeers : 0
48+ BytesToLanPeers : 0
49+ BytesToGroupPeers : 0
50+ BytesToInternetPeers : 0
51+ DownloadDuration : 00:00:00.0780000
52+ HttpConnectionCount : 2
53+ LanConnectionCount : 0
54+ GroupConnectionCount : 0
55+ InternetConnectionCount : 0
56+ DownloadMode : 99
57+ SourceURL : http://au.download.windowsupdate.com/c/msdownload/update/software/defu/2019/09/am_delta_p
58+ atch_1.301.664.0_ec523d49c4f7c3c4444f0d9b952286ce40fdcee4.exe
59+ NumPeers : 0
60+ PredefinedCallerApplication : WU Client Download
61+ ExpireOn : 9/6/2019 8:36:19 AM
62+ IsPinned : False
63+ ```
6464
6565Notice that the `BytesFromCacheServer` attribute isn't zero.
6666
@@ -75,34 +75,34 @@ Next, use the following method to simulate a client download request to the serv
75751. Open a 64-bit PowerShell window as an administrator.
76761. Run the following command, and replace the name or IP address of your server for `<DoincServer>`:
7777
78- ``` PowerShell
79- Invoke-WebRequest -URI "http://<DoincServer>/mscomtest/wuidt.gif" -Headers @{"Host"="b1.download.windowsupdate.com"}
80- ```
78+ ```PowerShell
79+ Invoke-WebRequest -URI "http://<DoincServer>/mscomtest/wuidt.gif" -Headers @{"Host"="b1.download.windowsupdate.com"}
80+ ```
8181
82- The output looks similar to the following example:
82+ The output looks similar to the following example:
8383
84- ``` PowerShell
85- PS C:\WINDOWS\system32> Invoke-WebRequest -URI "http://SERVER01.CONTOSO.COM/mscomtest/wuidt.gif" -Headers @{"Host"="b1.download.windowsupdate.com"}
84+ ```PowerShell
85+ PS C:\WINDOWS\system32> Invoke-WebRequest -URI "http://SERVER01.CONTOSO.COM/mscomtest/wuidt.gif" -Headers @{"Host"="b1.download.windowsupdate.com"}
8686
8787
88- StatusCode : 200
89- StatusDescription : OK
90- Content : {71, 73, 70, 56...}
91- RawContent : HTTP/1.1 200 OK
92- X-HW: 1567797125.dop019.se2.t,1567797125.cds058.se2.s,1567797125.dop114.at2.r,1567797125.cds079.at2
93- .p,1567797125.cds058.se2.p
94- X-CCC: cdP+dRBgUCoZO1mezA9zhg2VwQ7P1JWTh9k+GhfQmu8=_SLwv...
95- Headers : {[X-HW, 1567797125.dop019.se2.t,1567797125.cds058.se2.s,1567797125.dop114.at2.r,1567797125.cds079.a
96- t2.p,1567797125.cds058.se2.p], [X-CCC,
97- cdP+dRBgUCoZO1mezA9zhg2VwQ7P1JWTh9k+GhfQmu8=_SLwvtSBQdT3uPQ5ikBe1ABMbdYIIncem+h5dtcLI6GY=],
98- [X-CID, 100], [Accept-Ranges, bytes]...}
99- RawContentLength : 969710
100- ```
88+ StatusCode : 200
89+ StatusDescription : OK
90+ Content : {71, 73, 70, 56...}
91+ RawContent : HTTP/1.1 200 OK
92+ X-HW: 1567797125.dop019.se2.t,1567797125.cds058.se2.s,1567797125.dop114.at2.r,1567797125.cds079.at2
93+ .p,1567797125.cds058.se2.p
94+ X-CCC: cdP+dRBgUCoZO1mezA9zhg2VwQ7P1JWTh9k+GhfQmu8=_SLwv...
95+ Headers : {[X-HW, 1567797125.dop019.se2.t,1567797125.cds058.se2.s,1567797125.dop114.at2.r,1567797125.cds079.a
96+ t2.p,1567797125.cds058.se2.p], [X-CCC,
97+ cdP+dRBgUCoZO1mezA9zhg2VwQ7P1JWTh9k+GhfQmu8=_SLwvtSBQdT3uPQ5ikBe1ABMbdYIIncem+h5dtcLI6GY=],
98+ [X-CID, 100], [Accept-Ranges, bytes]...}
99+ RawContentLength : 969710
100+ ```
101101
102- The following attributes indicate success:
102+ The following attributes indicate success:
103103
104- - ` StatusCode : 200 `
105- - ` StatusDescription : OK `
104+ - `StatusCode : 200`
105+ - `StatusDescription : OK`
106106
107107## Log files
108108
0 commit comments