In Your Code

OSD Module isn't just for Task Sequences ...

You can easily use OSD Module in your own PowerShell Modules and Scripts

PowerShell Modules

In your Module Manifest (PSD1), include the OSD Module in RequiredModules

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

OSDBuilder uses the OSD Module in some of its code. In this example, IsAdmin is being evaluated as this function requires Admin Rights

Last updated