Powershell Script Examples With Functions