Dit artikel beschrijft de volledige opbouw van een twee-server Windows Server 2022 home lab in Proxmox VE. De twee virtuele machines leveren samen Active Directory Domain Services, DNS, Group Policy en een Certificate Authority (ADCS). RDP-verbindingen worden beveiligd met PKI-certificaten, zodat de Mac Mini M1 als beheerstation zonder certificaatwaarschuwingen verbinding maakt.
Dit is deel 3 van de serie over het opbouwen van een Windows DevOps lab in Proxmox. In deel 1 heb ik beschreven hoe je...
Dit is deel 2 van de serie over het opbouwen van een Windows DevOps lab in Proxmox. In deel 1 heb ik beschreven hoe je de VM aanmaakt. In dit artikel bereid ik de VM voor als herbruikbare Proxmox template. Alle toekomstige VMs — de CA server, member servers en andere rollen — worden vanuit deze template gekloond.
Download de volledige handleiding met screenshots (.docx): WS2022-in-Proxmox-Template-Preparation-Guide-NL.docx
Belangrijk: Start de VM na Sysprep nooit opnieuw op.
PowerShell computerresourcemonitor-script met cpu-percentage en uitgebreide geheugeninformatie
PowerShell Resourcemonitor $app="notepad" $ids = Get-Process $app | Select-Object -Property Id | ForEach-Object {$_.Id} $filedate = Get-Date -format "yyyy-MM-dd" #echo $pids foreach ($id in $ids) { $date = Get-Date -format "yyyy-MM-dd HH:mm:ss" # CPU-informatie van het proces $ProcessId = $id $Process = Get-WmiObject -Query "SELECT * FROM...
Function Opschonen-geheugen { Get-PSSession | Remove-PSSession [System.GC]::Collect() [GC]::Collect() [GC]::WaitForPendingFinalizers() Get-Variable | #Where-Object { $startupVariables -notcontains $_.Name } | ForEach-Object { try { Clear-Variable -Name "$($_.Name)" -Force -ErrorAction SilentlyContinue -WarningAction SilentlyContinue Remove-Variable -Name "$($_.Name)" -Force -Scope "global" -ErrorAction SilentlyContinue -WarningAction SilentlyContinue Remove-Variable -Name...