Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
? deploy/Import only one server per batch/powershell
#1
Hi

in our IT team we were taking about "deploying" a server in ASG using the same workflow we use to install a servernand deploy the active directory objects.

When I had a look at Delete and import servers  and "asgrd.exe /?" i saw that i can do an import from a csv file into ASD-Database.

---------------------------
ASG-RemoteDesktop 2018
---------------------------
Command line options:
/instance:<InstanceName>       Starts the program with the given environment
/profilefile:<Profilefile>     Open the specified 'profile file'
/configfile:<Configfile>       Open the specified 'environment configuration file'
/settingsfile:<Settingsfile>   Open the specified 'application settings file'
/dcs:<connection string>       Open the specified database with the given database connection string
/noenv                         Prevents launch of environment wizard
/novideo                       Prevents recording of videos
/onlyoneinstance               Only one instance of the program is allowed to start
/loginusername:<username>      Set 'username' in login dialog
/loginpassword:<password>      Set 'password' in login dialog
/logindomain:<domain>          Set 'domain' in login dialog
/loginintegrated:<true/false>  Set option 'Integrated' in login dialog
/loginmethod:<0/1>             Set login method option (database mode) 0 - Domain User login / 1 - Internal Username/Password login
/loginsubmit                   Submit the login informations to automatically log in
/passthrough:<true/false>      Starts the application and overrides 'Pass-through' setting
---------------------------

Is it possible to do this without storing the information in a csv file and do it on a more direct way?
e.g
[b]ConnectionValues= ConnectionName;ConnectionDestination;ConnectionDescription;ConnectionPort;ConnectionIpAddress;ConnectionProtocol;FolderName[/b]

ASGRD.exe /instance:MyEnvironment /loginintegrated:true /loginsubmit /importaction:ConnectionValues
/importoutput:c:\temp\log.txt /importid:00000000-0000-0000-0000-000000000000


Regards
Achim
Gruss
Achim.Z.
Reply


Messages In This Thread
? deploy/Import only one server per batch/powershell - by Achim.Z. - 24-01-2019, 08:44 AM



Users browsing this thread: 1 Guest(s)