Jump to content

Error Set MaintenanceSchedule


Andrea Marchi

Recommended Posts

I want to set the period of by powershell Maintenance . 

I attach the powershell file which does not work  

 

ERROR :

In C:\Program Files\Pulseway\automation_e4ae5e7d_784d_41fe_a512_7364b59decf2.ps1:394 car:14 + $value = "723" + ~ Carattere di terminazione mancante nella stringa: ". + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx ception + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

 

if you run the file locally on the server everything works, if imposed a console script does not work.

 

 

Maintenance.ps1

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...