In Your Code
OSD Module isn't just for Task Sequences ...

RequiredModules = @(
@{ModuleName = 'OSD'; ModuleVersion = '19.10.10.0'; Guid = '9fe5b9b6-0224-4d87-9018-a8978529f6f5'}
)

Copy link
On this page
PowerShell Modules