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