Skip to main content

Initialize-VsaAgentFields

Description​

Writes the ProVal Stack Machine Custom Fields to a new client environment.

Requirements​

VSAAPI ProVal Module

Usage​

Uses the VSAAPI module to interface with the client environment, setting new CustomFields for the Machine Scope.

.\Initialize-VsaAgentFields.ps1 -BaseURL https://vsa.provaltech.com -VsaUserName apiServiceAccount -RestApiToken abcd-efgh-ijkl-mnop

Parameters​

ParameterRequiredTypeDescription
BaseURLTrueStringURL of the Target VSA Environment
VsaUserNameTrueStringVSA User with System Role/Scope and API Access
RestApiTokenTrueStringREST API Access Token for the VSA User above

Output​

  • Initialize-VsaAgentFields-Log.txt
  • Initialize-VsaAgentFields-error.txt

Changelog​

2025-04-10​

  • Initial version of the document