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

no output of powershell scripts

$
0
0

I tried 2 different script, the one I need badly is Get-localGroupmembership.ps1 (http://gallery.technet.microsoft.com/scriptcenter/Get-LocalGroupMembership-c6168cfd) but when i run it, I don't get any output at all. To make sure that it runs, I've added in the beginning of the script write-host "start" and than obviously I get "start" as the only output.

When I change all the "write-verbose" to write-host nothing changes. I've tried this on different servers (2003 & 2008) and even on my laptop (W7) but it remains the same.

I've also tried a similar script (also from technet) with the same result. I don't get any errors but I'm wondering where the output went to...

Any ideas?

J.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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