Get Output from Powershell as String

Guys, I just want to know how do we get PowerShell script output as a string. Which can be used later on in the process. For example, I want to get an AD UserID by providing the email address in the script, Powershell does provide the username in output but I want to use that output (Username) to do some other stuff.

Never mind got the solution

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.