Skip to content

Instantly share code, notes, and snippets.

@awakecoding
Created February 10, 2020 21:18
Show Gist options
  • Save awakecoding/654ea1ffc924ade913114b90a5528a26 to your computer and use it in GitHub Desktop.
Save awakecoding/654ea1ffc924ade913114b90a5528a26 to your computer and use it in GitHub Desktop.
$Features = @(`
'Web-Server',
'Web-Http-Errors',
'Web-Http-Logging',
'Web-Static-Content',
'Web-Default-Doc',
'Web-Dir-Browsing',
'Web-AppInit',
'Web-Net-Ext45',
'Web-Asp-Net45',
'Web-ISAPI-Ext',
'Web-ISAPI-Filter',
'Web-Basic-Auth',
'Web-Digest-Auth',
'Web-Stat-Compression',
'Web-Windows-Auth')
foreach ($Feature in $Features) {
Install-WindowsFeature -Name $Feature
}
$DpsVersion = '2019.2.12.0'
$DpsWebAppUrl = "https://cdn.devolutions.net/download/RDMS/DVLS.$DpsVersion.zip"
$DpsConsoleUrl = "https://cdn.devolutions.net/download/Setup.DPS.Console.$DpsVersion.exe"
Invoke-WebRequest -Uri $DpsWebAppUrl -OutFile "DpsWebApp.zip"
Expand-Archive -Path "DpsWebApp.zip" -Destination .\DpsWebApp
Invoke-WebRequest -Uri $DpsConsoleUrl -OutFile "DpsConsole.exe"
.\DpsConsole "/extract:$(Get-Location)"
Move-Item .\373B2DB .\DpsConsole
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment