Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Commit bbad036

Browse files
committed
update documentating, fix PSAnalyzer warnings, fix markdownlint warnings
1 parent 9112046 commit bbad036

36 files changed

+588
-291
lines changed

CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Contributing
2+
13
All contributions to this project will be released as follows:
24

35
1. If you are a U.S. government employee, then your changes are exempt from copyright in the U.S. and will be released under the [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) [Universal license](https://creativecommons.org/publicdomain/zero/1.0/legalcode) worldwide.

DISCLAIMER.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
# Disclaimers
2+
13
## Disclaimer of Warranty
4+
25
This Work is provided "as is". Any express or implied warranties, including but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the United States Government be liable for any direct, indirect, incidental, special, exemplary or consequential damages (including, but not limited to, procurement of substitute goods or services, loss of use, data or profits, or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this Work, even if advised of the possibility of such damage.
36

4-
The User of this Work agrees to hold harmless and indemnify the United States Government, its agents and employees from every claim or liability (whether in tort or in contract), including attorneys' fees, court costs, and expenses, arising in direct consequence of Recipient's use of the item, including but not limited to, claims or liabilities made for injury to or death of personnel of User or third parties, damage to or destruction of property of User or third parties, infringement or other violations of intellectual property or technical data rights.
7+
The User of this Work agrees to hold harmless and indemnify the United States Government, its agents and employees from every claim or liability (whether in tort or in contract), including attorneys' fees, court costs, and expenses, ar
8+
ising in direct consequence of Recipient's use of the item, including but not limited to, claims or liabilities made for injury to or death of personnel of User or third parties, damage to or destruction of property of User or third parties, infringement or other violations of intellectual property or technical data rights.
59

610
Nothing in this Work is intended to constitute an endorsement, explicit or implied, by the United States Government of any particular manufacturer's product or service.
711

812
## Disclaimer of Endorsement
13+
914
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise, in this Work does not constitute an endorsement, recommendation, or favoring by the United States Government and shall not be used for advertising or product endorsement purposes.

Examples/Adobe/ARMUpdate/ARMUpdateConnectivity.psm1

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Import-Module -Name HttpConnectivityTester -Force
1515
# $connectivity | Format-List -Property Blocked,TestUrl,UnblockUrl,DnsAliases,IpAddresses,Description,Resolved,ActualStatusCode,ExpectedStatusCode
1616

1717
# 4. save results:
18-
# Save-HttpConnectivity -Results $connectivity -OutputPath "$env:userprofile\Desktop" -FileName ('ARMUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))
18+
# Save-HttpConnectivity -Objects $connectivity -FileName ('ARMUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))
1919

2020
Function Get-ARMUpdateConnectivity() {
2121
<#
@@ -72,4 +72,4 @@ Function Get-ARMUpdateConnectivity() {
7272
}
7373

7474
return $results
75-
}
75+
}

Examples/Adobe/ARMUpdate/README.md

+15-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Adobe Reader Manager update connectivity tests
1+
# Adobe Reader Manager update connectivity tests
22

3-
### Usage
3+
## Usage
44

55
1. Import this file: `Import-Module .\ARMUpdateConnectivity.psm1`
66
1. Run one of the following:
@@ -9,18 +9,20 @@
99
* `$connectivity = Get-ARMUpdateConnectivity -PerformBlueCoatLookup`
1010
* `$connectivity = Get-ARMUpdateConnectivity -Verbose -PerformBlueCoatLookup`
1111
1. Filter results: `$connectivity | Format-List -Property Blocked,TestUrl,UnblockUrl,DnsAliases,IpAddresses,Description,Resolved,ActualStatusCode,ExpectedStatusCode`
12-
1. Save results to a file: `Save-HttpConnectivity -Results $connectivity -OutputPath "$env:userprofile\Desktop" -FileName ('ARMUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))`
12+
1. Save results to a file: `Save-HttpConnectivity -Objects $connectivity -FileName ('ARMUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))`
13+
14+
## Tested URLs
1315

14-
### Tested URLs
1516
| Test URL | URL to Unblock | Description |
1617
| -- | -- | -- |
17-
| http://armmf.adobe.com | http://armmf.adobe.com | Adobe update metadata download |
18-
| https://armmf.adobe.com | https://armmf.adobe.com | Adobe update metadata download |
19-
| http://ardownload.adobe.com | http://ardownload.adobe.com | Adobe updates download |
20-
| https://ardownload.adobe.com | https://ardownload.adobe.com | Adobe updates download |
21-
| http://ardownload2.adobe.com | http://ardownload2.adobe.com | Adobe incremental updates download |
22-
| https://ardownload2.adobe.com| https://ardownload2.adobe.com | Adobe incremental updates download |
23-
| http://crl.adobe.com| http://crl.adobe.com | Adobe Certificate Revocation List |
18+
| <http://armmf.adobe.com> | <http://armmf.adobe.com> | Adobe update metadata download |
19+
| <https://armmf.adobe.com> | <https://armmf.adobe.com> | Adobe update metadata download |
20+
| <http://ardownload.adobe.com> | <http://ardownload.adobe.com> | Adobe updates download |
21+
| <https://ardownload.adobe.com> | <https://ardownload.adobe.com> | Adobe updates download |
22+
| <http://ardownload2.adobe.com> | <http://ardownload2.adobe.com> | Adobe incremental updates download |
23+
| <https://ardownload2.adobe.com> | <https://ardownload2.adobe.com> | Adobe incremental updates download |
24+
| <http://crl.adobe.com> | <http://crl.adobe.com> | Adobe Certificate Revocation List |
25+
26+
## References
2427

25-
### References
26-
* [Adobe Enterprise Toolkit >> Enterprise Administration Guide >> Service and Online Feature Configuration - Endpoint Configuration](https://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/services.html#endpoint-configuration)
28+
* [Adobe Enterprise Toolkit >> Enterprise Administration Guide >> Service and Online Feature Configuration - Endpoint Configuration](https://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/services.html#endpoint-configuration)

Examples/Adobe/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Adobe connectivity tests
1+
# Adobe connectivity tests
22

33
| Product / Service | File |
44
| -- | -- |

Examples/Apple/MacOSUpdate/MacOSUpdateConnectivity.psm1

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Import-Module -Name HttpConnectivityTester -Force
1515
# $connectivity | Format-List -Property Blocked,TestUrl,UnblockUrl,DnsAliases,IpAddresses,Description,Resolved,ActualStatusCode,ExpectedStatusCode
1616

1717
# 4. save results:
18-
# Save-HttpConnectivity -Results $connectivity -OutputPath "$env:userprofile\Desktop" -FileName ('MacOSUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))
18+
# Save-HttpConnectivity -Objects $connectivity -FileName ('MacOSUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))
1919

2020
Function Get-MacOSUpdateConnectivity() {
2121
<#
@@ -67,4 +67,4 @@ Function Get-MacOSUpdateConnectivity() {
6767
}
6868

6969
return $results
70-
}
70+
}

Examples/Apple/MacOSUpdate/README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## macOS update connectivity tests
1+
# macOS update connectivity tests
22

3-
### Usage
3+
## Usage
44

55
1. Import this file: `Import-Module .\MacOSUpdateConnectivity.psm1`
66
1. Run one of the following:
@@ -9,18 +9,20 @@
99
* `$connectivity = Get-MacOSUpdateConnectivity -PerformBlueCoatLookup`
1010
* `$connectivity = Get-MacOSUpdateConnectivity -Verbose -PerformBlueCoatLookup`
1111
1. Filter results: `$connectivity | Format-List -Property Blocked,TestUrl,UnblockUrl,DnsAliases,IpAddresses,Description,Resolved,ActualStatusCode,ExpectedStatusCode`
12-
1. Save results to a file: `Save-HttpConnectivity -Results $connectivity -OutputPath "$env:userprofile\Desktop" -FileName ('MacOSUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))`
12+
1. Save results to a file: `Save-HttpConnectivity -Objects $connectivity -FileName ('MacOSUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))`
13+
14+
## Tested URLs
1315

14-
### Tested URLs
1516
| Test URL | URL to Unblock | Description |
1617
| -- | -- | -- |
17-
| https://swscan.apple.com | https://swscan.apple.com | |
18-
| https://swcdnlocator.apple.com | https://swcdnlocator.apple.com | |
19-
| https://swdownload.apple.com | https://swdownload.apple.com | |
20-
| https://swcdn.apple.com | https://swcdn.apple.com | |
21-
| https://swdist.apple.com | https://swdist.apple.com | |
18+
| <https://swscan.apple.com> | <https://swscan.apple.com> | |
19+
| <https://swcdnlocator.apple.com> | <https://swcdnlocator.apple.com> | |
20+
| <https://swdownload.apple.com> | <https://swdownload.apple.com> | |
21+
| <https://swcdn.apple.com> | <https://swcdn.apple.com> | |
22+
| <https://swdist.apple.com> | <https://swdist.apple.com> | |
23+
24+
## References
2225

23-
### References
2426
* [Requirements for Software Update service](https://support.apple.com/en-us/HT200149)
2527
* [OS X: Server addresses used by Software Update](https://support.apple.com/en-us/HT202943)
2628
* [OSX Apple Updates?](https://github.com/bntjah/lancache/issues/36)

Examples/Apple/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
## Apple connectivity tests
1+
# Apple connectivity tests
22

33
| Product / Service | File |
44
| -- | -- |
5-
| [macOS updates](./MacOSUpdate/) | [MacOSUpdateConnectivity.psm1](./MacOSUpdate/MacOSUpdateConnectivity.psm1) |
5+
| [macOS updates](./MacOSUpdate/) | [MacOSUpdateConnectivity.psm1](./MacOSUpdate/MacOSUpdateConnectivity.psm1) |

Examples/Google/ChromeBrowser/ChromeUpdateConnectivity.psm1

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Import-Module -Name HttpConnectivityTester -Force
1515
# $connectivity | Format-List -Property Blocked,TestUrl,UnblockUrl,DnsAliases,IpAddresses,Description,Resolved,ActualStatusCode,ExpectedStatusCode
1616

1717
# 4. save results:
18-
# Save-HttpConnectivity -Results $connectivity -OutputPath "$env:userprofile\Desktop" -FileName ('ChromeUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))
18+
# Save-HttpConnectivity -Objects $connectivity -FileName ('ChromeUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))
1919

2020
Function Get-ChromeUpdateConnectivity() {
2121
<#
@@ -74,4 +74,4 @@ Function Get-ChromeUpdateConnectivity() {
7474
}
7575

7676
return $results
77-
}
77+
}
+15-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Chrome update connectivity tests
1+
# Chrome update connectivity tests
22

3-
### Usage
3+
## Usage
44

55
1. Import this file: `Import-Module .\ChromeUpdateConnectivity.psm1`
66
1. Run one of the following:
@@ -9,19 +9,21 @@
99
* `$connectivity = Get-ChromeUpdateConnectivity -PerformBlueCoatLookup`
1010
* `$connectivity = Get-ChromeUpdateConnectivity -Verbose -PerformBlueCoatLookup`
1111
1. Filter results: `$connectivity | Format-List -Property Blocked,TestUrl,UnblockUrl,DnsAliases,IpAddresses,Description,Resolved,ActualStatusCode,ExpectedStatusCode`
12-
1. Save results to a file: `Save-HttpConnectivity -Results $connectivity -OutputPath "$env:userprofile\Desktop" -FileName ('ChromeUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))`
12+
1. Save results to a file: `Save-HttpConnectivity "$env:userprofile\Desktop" -FileName ('ChromeUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))`
13+
14+
## Tested URLs
1315

14-
### Tested URLs
1516
| Test URL | URL to Unblock | Description |
1617
| -- | -- | -- |
17-
| http://redirector.gvt1.com | http://*.gvt1.com | |
18-
| https://redirector.gvt1.com | https://*.gvt1.com | |
19-
| http://update.googleapis.com/service/update2 | http://update.googleapis.com | |
20-
| https://update.googleapis.com/service/update2 | https://update.googleapis.com | |
21-
| https://clients2.google.com | https://clients2.google.com | |
22-
| https://clients5.google.com | https://clients5.google.com | |
23-
| https://tools.google.com | https://tools.google.com | |
24-
| http://dl.google.com | http://dl.google.com | |
18+
| <http://redirector.gvt1.com> | <http://*.gvt1.com> | |
19+
| <https://redirector.gvt1.com> | <https://*.gvt1.com> | |
20+
| <http://update.googleapis.com/service/update2> | <http://update.googleapis.com> | |
21+
| <https://update.googleapis.com/service/update2> |<https://update.googleapis.com> | |
22+
| <https://clients2.google.com> | <https://clients2.google.com> | |
23+
| <https://clients5.google.com> | <https://clients5.google.com> | |
24+
| <https://tools.google.com> | <https://tools.google.com> | |
25+
| <http://dl.google.com> | <http://dl.google.com> | |
26+
27+
## References
2528

26-
### References
2729
* [Manage Chrome updates (Windows) - Questions - What URLs are used for Chrome Browser updates?](https://support.google.com/chrome/a/answer/6350036?hl=en)

Examples/Google/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Google connectivity tests
1+
# Google connectivity tests
22

33
| Product / Service | File |
44
| -- | -- |

Examples/Microsoft/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Microsoft connectivity tests
1+
# Microsoft connectivity tests
22

33
| Product / Service | File |
44
| -- | -- |

0 commit comments

Comments
 (0)