8
0

Serverumzug

This commit is contained in:
2026-04-13 12:08:30 +02:00
parent 3096e432aa
commit 82609f5fc1
48 changed files with 5489 additions and 618 deletions

View File

@@ -0,0 +1,30 @@
# Remove-AzureArcSetup
# ----------------------------------------------------------------------------
# This Script uninstalles the Azure Arc Setup (the installed Agent!),
# if it´s installed in Windows Server 2025.
#
# Returns: -
# ----------------------------------------------------------------------------
# Copyright (c) 2026 by Digital Data GmbH
#
# Digital Data GmbH • Ludwig-Rinn-Strasse 16 • D-35452 Heuchelheim
# Tel.: 0641/202360 • E-Mail: info-flow@digitaldata.works
# ----------------------------------------------------------------------------
# Creation Date / Author: 09.04.2026 / MK
# Version Date / Editor: 09.04.2026 / MK
# Version Number: 1.0.0.0
#-----------------------------------------------------------------------------------------------------#
############################################# main part ###############################################
#-----------------------------------------------------------------------------------------------------#
$AzureArcSetup = Get-WindowsCapability -Online -Name "AzureArcSetup~~~~"
if ($AzureArcSetup.State -eq "Installed") {
Remove-WindowsCapability -Online -Name "AzureArcSetup~~~~"
}
#-----------------------------------------------------------------------------------------------------#
########################################### finishing part ############################################
#-----------------------------------------------------------------------------------------------------#
Remove-Variable -Name AzureArcSetup -Force -ErrorAction SilentlyContinue