Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 247559

Re: print outputed data and send mail

$
0
0

Do you mean you have the suffix "-admin" added to your regular AD username ?

If yes, you can change the following line in Alan's script

$_ | Add-Member-MemberTypeNoteProperty -NameCreator -Value$report[$key].User

to

$_ | Add-Member-MemberTypeNoteProperty -NameCreator -Value$report[$key].User.Split('-')[0]


Viewing all articles
Browse latest Browse all 247559

Trending Articles



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