Open navigation

Initiating Tpms.Powershell

# Step 1

# Steps 1 and 2

# Step 3

On the admin computer, run the Management Services Powershell console from Windows’ Start menu as administrator. 

Tpms.Powershell in Windows Start menu

If you are running a script on this machine for the first time, you must first allow the PowerShell execution policy to run scripts for this account. Therefore run this cmdlet:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

# Step 1

# Specify the address of Tpms.Service:

Set-TpmsServiceUrl -Uri "https://tpms035.ourdomain.local:4040"

# To display messages, set the logging level to Info:

Set-TpmsLogLevel -RelayLogLevel Info

# Steps 1 and 2

# Specify the target machine where Tpms.Agent is installed.

# If Tpms.Agent is running locally, enter:

$srv = New-TpmsObjSetupAgent -Name "cps47.ourdomain.local" -Port 5050

# If Tpms.Agent is running remotely, enter:

$srv = New-TpmsObjSetupAgent -Name "cps47.ourdomain.local" -Port 5050 -Credential (Get-Credential -Message "Please enter your credentials." -UserName "ourdomain\Administrator")

# A window will open. Enter admin credentials of the target machine to be able to retrieve the certificates.

# Step 3

# Send the specified settings to Tpms.Service. This initiates Tpms.Powershell:

Start-TpmsSetupByAgent -Servers ($srv)

Note! The cmdlet Set-TpmsServiceUrl must be run one-time on each admin computer. However, the cmdlet New-TpmsObjSetupAgent must be run one-time for each Tpms.Agent.

Initiating Tpms.Powershell: entering credentials

Initiating Tpms.Powershell: Sending the specified settings to Tpms.Service

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.