schedules.ps1
configuration file.New-PSUSchedule
cmdlet. This cmdlet accepts dynamic parameters so that you can pass the values in for your schedule.-Environment
parameter in New-PSUSchedule
.-Credential
parameter. The value should be the name of the variable that contains your credential.