Andrea Marchi Posted September 4, 2019 Posted September 4, 2019 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
Staff Chris Posted September 11, 2019 Staff Posted September 11, 2019 Hi @Andrea Marchi, Is there particular reason why are you trying to set this via powershell script? We have this functionality available via Pulseway Group policies. Regarding that script error: In lime 5, the dash character is copied incorrectly .
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now