-
Notifications
You must be signed in to change notification settings - Fork 0
/
01-04-Configure_MGR.ps1
21 lines (18 loc) · 1 KB
/
01-04-Configure_MGR.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Installere Choco
# Hva er Choco: https://chocolatey.org/
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 upgrade chocolatey
# Installere programvare med Choco
choco install -y powershell-core
choco install -y git.install
choco install -y vscode
#choco install -y sysinternals
# Konfigurer Git
git config --global user.name "NAVN"
git config --global user.email "[email protected]"
#
# Check if computer is domain joined (CIM (Common Information Model))
Get-CimInstance -ClassName Win32_ComputerSystem | Select-Object -Property Name, Domain, PartOfDomain
# Remote Server Administrative Tools (RSAT)
# Installere RSAT - RSAT is a tool that allows you to manage roles and features in Windows Server remotely from a Windows 10/11 machine.
Add-WindowsCapability -Name Rsat.ActiveDirectory.DS-LDS.Tools -Online