Please help me. How can I display a list of AD users in WinForm ComboBox in font color depending on the account status? For example: a disabled user is light gray, an unlimited password is blue.
$Users = Get-ADuser -filter * -Properties Name
Foreach ($User in $Users)
{
$ComboBox1.Items.Add($User.Name) ;
}

The only way to have different font colors in a ComboBox is by overriding the
DrawItemevent. For this you need to also set theComboBox.DrawModetoOwnerDrawFixed.Below code shows a demo form that uses that technique