Apps/Get-MicrosoftOpenJDK16.ps1
function Get-MicrosoftOpenJDK16 { <# .NOTES Author: Aaron Parker Twitter: @stealthpuppy #> [OutputType([System.Management.Automation.PSObject])] [CmdletBinding(SupportsShouldProcess = $False)] param ( [Parameter(Mandatory = $False, Position = 0)] [ValidateNotNull()] [System.Management.Automation.PSObject] $res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) ) $Output = Get-AdoptiumTemurin -res $res Write-Output -InputObject $Output } |