Apps/Get-ElgatoAudioEffects.ps1
function Get-ElgatoAudioEffects { <# .NOTES Author: Aaron Parker Twitter: @stealthpuppy #> [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "", Justification="Product name is a plural")] [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]) ) # Pass app details to the internal function $object = Get-ElgatoApp -res $res Write-Output -InputObject $object } |