-
Notifications
You must be signed in to change notification settings - Fork 30
/
choco_veeam.ps1
22 lines (17 loc) · 1015 Bytes
/
choco_veeam.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco Install GoogleChrome -y
choco install cygwin -y
choco install cyg-get -y
cyg-get ansible
## Install OpenSSH.Server
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
## Install OpenSSH.Client
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
## Change server start-up to Automatic
Set-Service -Name sshd -StartupType ‘Automatic’
## Start the Server and change start-up to Automatic
Start-Service sshd
choco feature enable -n=exitOnRebootDetected
choco feature enable -n=useRememberedArgumentsForUpgrades
#choco install sql-server-express -y
#choco install veeam-backup-and-replication-server --params "/sqlServer:(local)\SQLEXPRESS /username:administrator /password:Veeam1!" --source='"c:\Packages;chocolatey"' -y