Apps/Get-MicrosoftOLEDBDriverForSQLServer.ps1
function Get-MicrosoftOLEDBDriverForSQLServer { <# .SYNOPSIS #> [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-MicrosoftFwLink -res $res Write-Output -InputObject $Output } |