User Interface functions for PowerShell.