Standard PowerShell functions for re-use.