Public/Functions/OSDCloud/Get-OSDCloudOperatingSystems.ps1
function Get-OSDCloudOperatingSystems { <# .SYNOPSIS Returns the Operating Systems used by OSDCloud .DESCRIPTION Returns the Operating Systems used by OSDCloud .LINK https://github.com/OSDeploy/OSD/tree/master/Docs #> [CmdletBinding()] param () $Results = Get-Content -Path (Join-Path (Get-Module -Name OSD -ListAvailable | Sort-Object Version -Descending | Select-Object -First 1).ModuleBase "Catalogs\CloudOperatingSystems.json") | ConvertFrom-Json $Results } |