PowerShell Functions to work with Windows