mardi 27 juillet 2021

Execute a block of code once in a month only- Powershell script

i have a .ps script file job which runs daily(except weekends and holidays). i have block of code which should execute once in a month only. as it is a daily job so it should execute first working day of the month only. Rest of the code executes daily but this my own section should execute once in a month. Is there any way i can keep the if condition in powershell script, how it knows after month changes????

Need inputs.

Aucun commentaire:

Enregistrer un commentaire