PowerShell 1.3.1 VBO - Unable to execute Get-ADUser command


Hi Team, We have a requirement where with user email id we need to know whether he is an active user in organization or user left the organization. In order to do that we are using powershell Get -ADUser commands.

When i pass only powershell script in "PowerShellScriptCode" variable we are not getting any output or no error too. Manually the same script is working fine

Sample - Get-ADUser -property manager, department -Filter {EmailAddress -like "user@xyz.com"}

Please let us know if you have faced this issue or is there any better way to handle this scenario. Thanks in Advance