Code Monkey home page Code Monkey logo

rfl.microsoft.ad's People

Contributors

dotraphael avatar

Watchers

 avatar

rfl.microsoft.ad's Issues

Unable to export the data to Word or HTML

Hi,

I am not able to export the output like below.

Powershell Version :

Name : ConsoleHost
Version : 7.3.4
InstanceId : 909cb448-8342-4843-93ca-ae6ee0a83860
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace

.\CollectADData.ps1 -SaveTo 'C:\RFL.Microsoft.AD-main\RFL.Microsoft.AD-main' ->> it works very well.

.\ExportADData.ps1 -SourceData 'C:\RFL.Microsoft.AD-main\RFL.Microsoft.AD-main' -OutputFormat @('Word', 'HTML') -CompanyName 'Contoso' -CompanyWeb 'http://www.contoso.com' -CompanyEmail '[email protected]' --->> its not working

My output:

05-05-2023 20:57 Current Folder 'C:\RFL.Microsoft.AD-main\RFL.Microsoft.AD-main'
05-05-2023 20:57 All checks completed successful. Starting collecting data for report
05-05-2023 20:57 Report file name: avivasa.local
Document: Cannot process argument transformation on parameter 'ScriptBlock'. Cannot convert the "
#region style
DocumentOption -EnableSectionNumbering -PageSize A4 -DefaultFont 'Arial' -MarginLeftAndRight 71 -MarginTopAndBottom 71 -Orientation Portrait
....
..
..

..

05-05-2023 20:57 Exporting report format Word to C:\RFL.Microsoft.AD-main\RFL.Microsoft.AD-main
05-05-2023 20:57 Exporting report format HTML to C:\RFL.Microsoft.AD-main\RFL.Microsoft.AD-main
05-05-2023 20:57 All Data have been collected and saved to ''
05-05-2023 20:57 You can now use the 'ExportADData.ps1' PowerShell script to create the report file
05-05-2023 20:57 *** Ending ***

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.