Quote:this is really nice. One question though, can we output this info to a file
Quote:Thanks for writing this beautiful script, i am using this, but i want to get this information in email or i want to get Html report from this script, can you help me how can i achieve this.
Quote:How can I output to a text file? The normal methods does not seem to work. I did | Export-csv -path c:\temp\output.txt
Quote:Excellent script, tired of taking screenshots :-) is there a way to export report to txt format?
Quote:The script is really useful, but how can I export the output of the command powershell in an html file?
A script is still under features development.
Unfortunately, at this stage the script doesn’t offer exporting results to HTML,CSV or TXT files. You can only manually select text from output in PowerShell console and copy it to notepad or take screen shots.
When I have started writing this script, it contained few simple checks. I was adding new features day by day and I discovered that the script grown too much. At this stage I decided to share the code for others as it may be helpful. I did not think about exporting data to file but after some time of using it, I figured out that this option might be useful.
As I said before, the scrupt is still under development, so some they it will be supporting data export.
Another story about the script is Daniel Petri
:] He contacted me and asked if we can add some more Active Directory checks into it. Of course we agreed and started to extending tool for more checks. At the end we received huge code which does not support PowerShell objects
. They are not implemented inside the code yet.
There are no PowerShell objects defined to capture results and that’s why mentioned above file formats are not possible to use. To allow that, the script needs to be completely rewritten.
I’m wondering if it’s better to start writing new one based on PowerShell 3.0/4.0 (Windows Server 2012/2012R2) or redesign the current one. Will let you know about decisions.