This is the third piece of the air-gapped VMware patching puzzle. DSvClient downloads the repository from Broadcom, DSvRepoImport is the PowerShell module that knows how to talk to each vCenter API, and Import-DSvRepo is the wrapper script that ties them together into a single command.
If you’ve read my posts on DSvClient 0.8.0 and DSvRepoImport, you know the individual pieces. This post covers how the wrapper orchestrates them.
Why a Wrapper Script?
The DSvRepoImport module exports eight functions, each handling a different data type. Calling them one by one with the right parameters and credentials gets tedious fast — especially when you’re doing it regularly across multiple vCenter instances.