EightBlitz,
Could you help me with your script?
I am getting the following errors:
[ERROR]
Command Line: &(".\RWExport-To-HTML.ps1") -Source 'C:\Users\Lee\Documents\Realm Works\Output\Lerchanth V1.0.rwoutput' -Destination 'D:\Junk\Lerchanth.html' -Sort 2 -SimpleImageScale 0 -SmartImageScale 0 -CSSFileName 'RWExport_091b_095b.css' -Prefix -Suffix -Details -Indent -SeparateSnippets
Reason: InvalidArgument - Cannot convert value "System.Object[]" to type "System.Xml.XmlDocument". Error: "The input document has exceeded a limit set by MaxCharactersInDocument."
Location: Line 1451, Character 7
Script Line: [xml]$RWExportData = Get-Content -Path $Source
[/ERROR]
My export file size is: 933,015 kb
Any idea?
EDIT:
Suggestion, In your document, can you add the correct command to put your system back to normal? PLEASE!
The command to return this to normal:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
I used:
Set-ExecutionPolicy Restricted -Scope CurrentUser -Force
Is that correct?
Last edited by MadCartographer; March 19th, 2017 at 11:51 AM.
|