Added Functions.ps1

For random useful code that doesn't have its own script or module.