Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Can Powershell do this?

$
0
0

I have a powershell script that checks outlook results, now it reports back the following line of code

Customer=Backup Exec Alert: Job Cancellation (Server: "SERVER A") (Job: "Daily Backup")

Is it possible to grab the results of anything that is within the quotes of (Server: "SERVER A") and put it in a variable?, so as it goes through multiple lines you might have SERVER B, SERVER C but i just want to put those results in a line.

Let me know if you want me to explain it anymore.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>