-
Notifications
You must be signed in to change notification settings - Fork 0
/
Core_Deployment.ps1
41 lines (26 loc) · 1.01 KB
/
Core_Deployment.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#FileName: Core_Deployment.ps1
#Author: Fabian Brash
#Date: 07-05-2016
#Modified: 07-05-2016
<#________ ________ ________
|\ __ \ |\ __ \ |\ ____\
\ \ \|\ \\ \ \|\ \\ \ \___|_
\ \ _ _\\ \ ____\\ \_____ \
\ \ \\ \|\ \ \___| \|____|\ \
\ \__\\ _\ \ \__\ ____\_\ \
\|__|\|__| \|__| |\_________\
\|_________|#>
Clear-Host
$FeatureName=""
$WildCard="*"
$DotNetCore_3_5 = "NET-Framework-Core"
$IIS = "Web-Server"
$ManagementTools = "-IncludeManagementTools"
$SubFeatures = "-IncludeAllSubFeature"
$TraceMode = "-WhatIf"
$Server = Read-Host "Please enter target server"
#Let's get all features of the OS
Get-WindowsFeature -ComputerName $Server
#sconfig will setup basic features of the server IP, hostname, etc..
#Install a particular feature
#Install-WindowsFeature -Name $FeatureName