manager config added

This commit is contained in:
Gramzon
2025-01-14 11:53:34 +01:00
parent d8fbcbdcb4
commit 94bd71f58c
3 changed files with 81 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
################################################################################
# MAKE SURE YOUR ARE LOGED IN AS A YOUR DOMAIN ADMIN USER - NOT ADMINISTRATOR :D
################################################################################
# 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 "EPOST@EPOST.EPOST"
#
# 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