Set up scheduled versioning

Use Windows Scheduler to initiate automatic configuration versioning as follows.

Make sure the versioning script is working correctly with your configuration.
  • Once you have tested the versioning script the next step is to make it run automatically at regular intervals.
  • Do this by creating a Windows scheduled task. The specifics of how to configure a scheduled task will vary according to which version of named query you're using so be sure to check the relevant documentation.
  • The desired time interval will depend on your exact requirements but the important thing is that the scheduled task runs the following command line.
    Note: the specific paths may vary depending on the version of named query and where PowerShell and Xoom are installed, but the parameters should all be present in the same way and in the same order.
At a PowerShell prompt, type the following command:

C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe -command "& 'C:\Program Files (x86)\Zany Ants\Xoom\Store-ConfigInRCS.ps1'"