Calling A Function In Powershell Script Extension