How To Create And Call A Function In Powershell Script To Get Computer