Submit a ticketCall us

Training Class Getting Started with SolarWinds Backup - February 28

This course offers customers an introduction to SolarWinds Backup, focusing on configuring the backup technology, taking backups, data restoration and data security. It is a great primer and will get you up to speed quickly on SolarWinds Backup.
Register for class.

Home > Success Center > Server & Application Monitor (SAM) > Special character not escaped in PowerShell Script

Special character not escaped in PowerShell Script

Updated 8-22-2016

Overview

In SAM, PowerShell scripts used for Microsoft.PowerShell session configuration contain a placeholder of ${PASSWORD} as seen in this code: $password = '${PASSWORD}' You should replace the placeholder including the single quotes. SAM does not escape the single quotes. If you do not remove the single quotes, data may not poll for AppInsight for IIS.

Environment

  • SAM 6.2.4

 

Cause 

Single quotes for the password placeholder are not escaped. You should replace these when adding a password for the PowerShell script.

 

Resolution

Remove the single quotes when adding the password.

 

 

 

 

Last modified

Tags

Classifications

Public