PowerShell Universal - 5.5.5
Release Notes
Features
Bug Fixes
Admin Console
APIs
Automation
Platform
Downloads
Adam Driscoll
PowerShell Expert and Developer at Devolutions
We moved from 5.5.1 to 5.5.5 and AutoComplete with AutoCompleteOptions is completely broken:
New-UDAutocomplete -Label "Computer Group" -Id "txtComputerGroup" -OnLoadOptions {
if ($body -gt 2) {
$computerGroups = Get-PSUDataComputerGroups -Name $body
foreach ($computerGroup in $computerGroups) {
New-UDAutocompleteOption -Name $computerGroup.Name -Value $computerGroup.Id
}
}
} -FullWidth -Value $EventData.ComputerGroupId