```powershell $sb={ Function Get-MyCommand { param( [Parameter(Mandatory=$true,Position=1)] $ParamMandatory, [Parameter(Position=2)] $B, [Parameter(Position=3)] $C ) "Test" } Get-MyCommand Write-verbose } Invoke-ScriptAnalyzer -ScriptDefinition "$sb" ``` This rule does not fire because it only calls the [GetCommandInfo()](https://github.com/PowerShell/PSScriptAnalyzer/blob/development/Rules/UseCmdletCorrectly.cs#L91) method. The [test file](https://github.com/PowerShell/PSScriptAnalyzer/blob/development/Tests/Rules/UseCmdletCorrectly.ps1) does not contain this use case.