Closed osiktech closed 1 year ago
hi @dinger1986 as promised a parameterised version of the script. I tested it and it should work out of the box with the install.sh
script to install the server.
Nonetheless please test carefully before merging. :)
ah ok, so someone would use the parameters to run the script? so we need to show the command to run it as well then I guess
yes but this part of the powershell script. I put some examples in the head section of the WindowsAgentAIOInstall.ps1.
lol yeah, have you met users? majority of people dont read basic instructions. Ill test it, I am sure it should be fine, we can always write instructions on the readme and give an example when the install script completes or something 👍
18 years administration on my back, so yeah I have met users 😄. Testing is always welcome 👍
btw Get-Help .\WindowsAgentAIOInstall.ps1
should also print some help. I'm not a powershell pro, rather on the UNIX side of the world.
nice one, yeah I am the same, prefer the unix side of things :) its so hard working with them now
Been thinking about this and think it should be a different script, so should be WindowsAgentStandaloneInstall.ps1 or something, guess just need to compare what other changes have been made etc, sorry about this
Use parameters to install RustDesk client via script.
$WanIPReg
-> optional (default set by install.sh script during installation of rustdesk server)$KeyReg
-> optional (default set by install.sh script during installation of rustdesk server)$Enable-Audio
-> optional (default True)$PasswordLength
-> optional (default 8)Provide a basic synopsis about the script