Skip to content

Remove server from database

Go to Automation

View in GitLab

Description

The script sets a server as inactive in the server database. The script retrieves the server's hostname, sets the deactivation date, and updates the tblConfig table and deletes the server from tblConfigBuPolicy..

Credentials

  • DG_ServersUser1 (SQL account)

Input

Variable Description
databaseserver Hostname for the database
databaseuser User for the database
databasepassword Password for the database
database SQL server database name
server Servername

Output

updates database "Sql_db_dg_servers"

Dependencies