Patch/Cmdlets/Misc/ArgumentCompleter.ps1
$InstanceNameArgumentCompleter = { param($commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameters) Import-NavModule -Admin Get-NAVServerInstance | % { $_.ServerInstance -replace ".*\$", "" } | ` Where-Object { $_ -like "$wordToComplete*" } } |