Update the details of a site within the Management Console
SYNTAX
DESCRIPTION
Update a site in the Management Platform.
EXAMPLES
1. Disable a site
2. Update a site's description
PARAMETERS
-Site
Site object to update
Type: | ThinScale.Management.DataObjects.Site |
Required: | Yes |
Accept Pipeline Input: | Yes |
-SiteName
The new name of the site
Type: | String |
Required: | No |
Accept Pipeline Input: | No |
-SiteDescription
New Description of the site
Type: | String |
Required: | No |
Accept Pipeline Input: | No |
-Username
The site username
Type: | String |
Required: | No |
Accept Pipeline Input: | No |
-Password
The site Password
Type: | String |
Required: | No |
Accept Pipeline Input: | No |
-DefaultDeviceFolderId
The GUID of the folder devices will be added to if they do not exist when connecting via this site
Type: | Guid |
Required: | No |
Accept Pipeline Input: | No |
-DefaultDeviceFolderName
The name of the folder devices will be added to if they do not exist when connecting via this site
Type: | String |
Required: | No |
Accept Pipeline Input: | No |
-Disabled
Disables the site
Type: | SwitchParameter |
Required: | No |
Accept Pipeline Input: | No |
-Enable
Enables the site
Type: | SwitchParameter |
Required: | No |
Accept Pipeline Input: | No |
-DisallowAutoAdd
Prevent devices being added if they do not exist when connecting via this site
Type: | SwitchParameter |
Required: | No |
Accept Pipeline Input: | No |
-AllowAutoAdd
Allow devices to be added if they do not exist when connecting via this site
Type: | SwitchParameter |
Required: | No |
Accept Pipeline Input: | No |
-ForceDeviceFolder
If multiple DefaultDeviceFolders are found with the same name, the first retrieved will be used otherwise the call will fail
Type: | SwitchParameter |
Required: | No |
Accept Pipeline Input: | No |
-Interface
The interface ID returned by a previously successful call to Connect-TSTMGMTServer. This parameter is only required if you are connected to 2 or more Management Platform instances at the same time. If this parameter is not specified the connection to the last successful call to Connect-TSTMgmtServer will be used.
Type: | Guid |
Required: | No |
Accept Pipeline Input: | No |
-Timeout
The time allowed in milliseconds for the call to complete before it is deemed to have timed out and is aborted
Type: | Int32 |
Required: | No |
Accept Pipeline Input: | No |
INPUTS
ThinScale.Management.DataObjects.Site
OUTPUTS
ThinScale.Management.DataObjects.Site