Skip to main content

Set Time Zone - Windows Workstations

Summary

Runs the Manage Time Zone automation once per day on windows workstations where the cPVAL Manage Time Zone custom field is enabled.

Details

  • Name: Set Time Zone - Windows Workstations
  • Description: Runs the "Manage Time Zone" automation on windows workstations where the "cPVAL Manage Time Zone" custom field is enabled.
  • Recommended Agent Policies: Windows Workstation [Default]

Dependencies

Condition Creation

Conditions can be configured within an Agent Policy. This document provides an example using the default Windows Workstation [Default] policy for demonstration purposes.

Navigate to Administration > Policies > Agent Policies.
Navigate

Search for Windows Workstation and select the default Windows Workstation [Default] policy.
DefaultWindowsWorkstation

This will navigate you to the policy's landing page, which is the Conditions section. Note that conditions may vary across different policies and environments. The provided screenshot is for demonstration purposes only.
Conditions

Click the Add a condition button to add a new condition.
AddACondition

The Condition screen will appear.
ConditionScreen

Condition

Click the Select a condition button to select the condition.
SelectACondition

Following screen will appear.
SelectConditionWindow

Select the Custom Fields from the dropdown menu.
CustomFields

The Custom Field Condition configuration screen will appear.
CustomFieldsConfiguration

Set the condition as following and Click the Apply Button.

Custom field value must meet any conditions:

cPVAL Manage Time Zone >> equals >> Windows
cPVAL Manage Time Zone >> equals >> Windows Workstations

Image1

Configuration

Set the following details:

  • Name: Set Time Zone - Windows Workstations
  • Severity: None
  • Priority: None
  • Reset Interval: 24 hours
  • Channel(s): <Leave it blank>
  • Notify Technician: Do not send notifications
  • ConnectWise: Do not create a ticket
  • Ticketing Rule: Off

Image2

Automations

Click the Add button in the Automations section of the condition to add the script to run.
AutomationsAddButton

Search and select the Manage Time Zone automation from the Automation Library.
Image3

Set appropriate values to the variables and Apply the script.
Image4

Saving the Condition

Click the Add button to save the condition.
Image5

Completed Condition

Image6

Saving Agent Policy

Click the Save button located at the top-right corner of the screen to save the agent policy.
Save

You will be prompted to enter your MFA code. Provide the code and press the Continue button to finalize the process.
MFA