Powershell Define Function In Script