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

Latest commit

 

History

History

MacOSUpdate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

macOS update connectivity tests

Usage

  1. Import this file: Import-Module .\MacOSUpdateConnectivity.psm1
  2. Run one of the following:
    • $connectivity = Get-MacOSUpdateConnectivity
    • $connectivity = Get-MacOSUpdateConnectivity -Verbose
    • $connectivity = Get-MacOSUpdateConnectivity -PerformBlueCoatLookup
    • $connectivity = Get-MacOSUpdateConnectivity -Verbose -PerformBlueCoatLookup
  3. Filter results: $connectivity | Format-List -Property Blocked,TestUrl,UnblockUrl,DnsAliases,IpAddresses,Description,Resolved,ActualStatusCode,ExpectedStatusCode,UnexpectedStatus
  4. Save results to a file: Save-HttpConnectivity -Objects $connectivity -FileName ('MacOSUpdateConnectivity_{0:yyyyMMdd_HHmmss}' -f (Get-Date))

Tested URLs

Test URL URL to Unblock Description
https://swscan.apple.com https://swscan.apple.com
https://swcdnlocator.apple.com https://swcdnlocator.apple.com
https://swdownload.apple.com https://swdownload.apple.com
https://swcdn.apple.com https://swcdn.apple.com
https://swdist.apple.com https://swdist.apple.com

References