---
title: "PowerShell script parameters"
canonical: "https://docs.cuesystem.com/space/TOPSS/276005076/PowerShell%20script%20parameters"
format: markdown
---
Script touchone_v1.ps1 has the following mandatory and optional parameters:

### command

Mandatory text parameter, the command to be executed by the script. 

Available options are:

- “**UpdateFirmware**” - the command uploads new firmware to the units. After a successful firmware update, each unit is restarted. Firmware must be stored in the same directory as the script. If there are no newer firmware for the device in the directory, the firmware update will not be performed.
- „**Set802.1x**“ - the command uploads 802.1x certificates and enables the use of 802.1x in units. After a successful setup, each touchONE unit is restarted.

### csvfile

Mandatory text parameter. The name of the CSV file with the list of units on which the script is to be executed and the file names with 802.1x certificates. The file must be saved in the same directory as the script. A description of the CSV file can be found below.

### rspassword

Mandatory text parameter. The admin password for the reservation suite.

### usehttps

Optional Boolean parameter **$true** or **$false**. Default value is **$false**. 

If the parameter is set to **$true**, the HTTPS protocol will be used to communicate with the unit, otherwise, the HTTP protocol will be used. When using the HTTPS protocol, the certificate proving the HTTPS server on the touchONE units is not checked.

## Examples of executing a script

- The following command updates the firmware on all units that are listed in the table_update.csv file. The pass4321 admin password is used to access the touchONE units. The HTTPS protocol is used for communication with the units.  
**.\touchone_v1.ps1 -command „UpdateFirmware“ -csvfile „table_update.csv“ -rspassword „pass4321“ -usehttps $true**
- The following command uploads 802.1X certificates to the units and set up 802.1X network access. A list of all units and certificates is in the table_8021x.csv file. The pass4321 admin password is used to access the touchONE units. The HTTP protocol is used for communication with the units.  
**.\touchone_v1.ps1 -command “Set802.1x” -csvfile “table_8021x.csv” -rspassword “pass4321”**