Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to import .html to Reports/ folder #15

Open
WiseLife42 opened this issue Oct 28, 2024 · 0 comments
Open

Error to import .html to Reports/ folder #15

WiseLife42 opened this issue Oct 28, 2024 · 0 comments

Comments

@WiseLife42
Copy link

WiseLife42 commented Oct 28, 2024

Hi,

I get the following error message when the script tries to import the report into the ‘Reports/’ folder:

C:\PingCastle\Pingcastle-Notify.ps1 : Error for move report file to logs directory
C:\PingCastle\PingCastle\ad_hc_$DOMAIN.html
Au caractère C:\PingCastle\Pingcastle-Notify.ps1:454 : 5
+     Write-Error -Message ("Error for move report file to logs directo ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Pingcastle-Notify.ps1

Surely it's because it can't add the date to the beginning of the name of my report?

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant