---
title: TrafficScript Guide
slug: ps/help/en_us/vtm/tsg
docTags: 
createdAt: 2026-08-02T09:41:21.908Z
---

The Virtual Traffic Manager: TrafficScript Guide describes the Virtual Traffic Manager (Traffic Manager) TrafficScript language.

This guide introduces you to the syntax and commands used in TrafficScript, and is intended as a complete reference to all TrafficScript functions available in the Traffic Manager.

::::LinkArray{itemsPerRow="2" contentSource="CUSTOM"}
:::LinkArrayItem
::Image[[ps-vtm-tscript/intro.htm](docId\:HGqq_jRu7vsZWXZI4Jgo2)]{src="https://api.archbee.com/api/optimize/wxZG1KsS4xNkVZYoiu_o9/2_rqo493B5o8cPnlWbiOE_icon-arrow-white.png" size="10" width="49" height="49" darkWidth="49" darkHeight="49" position="center" initialPath="resources/images/icon-arrow-white.png" githubPath="TSG/resources/images/icon-arrow-white.png" showCaption="false"}

[Introduction](docId\:HGqq_jRu7vsZWXZI4Jgo2)
:::

:::LinkArrayItem
::Image[[ps-vtm-tscript/syntax.htm](docId\:wj14M1BcooIzp2vQ6iFyF)]{src="https://api.archbee.com/api/optimize/wxZG1KsS4xNkVZYoiu_o9/2_rqo493B5o8cPnlWbiOE_icon-arrow-white.png" size="10" width="49" height="49" darkWidth="49" darkHeight="49" position="center" initialPath="resources/images/icon-arrow-white.png" githubPath="TSG/resources/images/icon-arrow-white.png" showCaption="false"}

[TrafficScript Syntax](docId\:wj14M1BcooIzp2vQ6iFyF)
:::

:::LinkArrayItem
::Image[[ps-vtm-tscript/functionref.htm](docId\:wwtIisxjIBzijEIfW_qls)]{src="https://api.archbee.com/api/optimize/wxZG1KsS4xNkVZYoiu_o9/2_rqo493B5o8cPnlWbiOE_icon-arrow-white.png" size="10" width="49" height="49" darkWidth="49" darkHeight="49" position="center" initialPath="resources/images/icon-arrow-white.png" githubPath="TSG/resources/images/icon-arrow-white.png" showCaption="false"}

[Function Reference](docId\:wwtIisxjIBzijEIfW_qls)
:::
::::

