From 5c5b3b43bf3e66cbf471ba1c00191d336d2b7da5 Mon Sep 17 00:00:00 2001 From: Herbert Mauerer <41573578+HerbertMauerer@users.noreply.github.com> Date: Tue, 25 Feb 2025 14:07:53 +0100 Subject: [PATCH 1/2] Update Add-Computer.md specify DNS FQDN is required. it is a regression, but really the change is makes is good... --- reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md b/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md index 5d8738f66f91..88069b95b31e 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md @@ -456,6 +456,8 @@ Accept wildcard characters: False Specifies the name of a domain controller that adds the computer to the domain. Enter the name in DomainName\ComputerName format. By default, no domain controller is specified. +There is a domain join hardening since August 2024: [NetJoin Domain Join Hardning Changes](https://support.microsoft.com/en-us/topic/kb5020276-netjoin-domain-join-hardening-changes-2b65a0f3-1f4c-42ef-ac0f-1caaf421baf8). When this is used, the domain controller name has to be specified with the DNS FQDN name syntax like "-Server DC1.contoso.com". + ```yaml Type: System.String Parameter Sets: Domain From 6fa8ad00642bcd7559cda194e6d23276cccf68e1 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Tue, 25 Feb 2025 08:02:12 -0600 Subject: [PATCH 2/2] Update Add-Computer.md with domain join hardening details --- .../5.1/Microsoft.PowerShell.Management/Add-Computer.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md b/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md index 88069b95b31e..717e1f624acd 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md @@ -454,9 +454,11 @@ Accept wildcard characters: False ### -Server Specifies the name of a domain controller that adds the computer to the domain. Enter the name in -DomainName\ComputerName format. By default, no domain controller is specified. +FQDN format. By default, no domain controller is specified. -There is a domain join hardening since August 2024: [NetJoin Domain Join Hardning Changes](https://support.microsoft.com/en-us/topic/kb5020276-netjoin-domain-join-hardening-changes-2b65a0f3-1f4c-42ef-ac0f-1caaf421baf8). When this is used, the domain controller name has to be specified with the DNS FQDN name syntax like "-Server DC1.contoso.com". +Beginning in August 2024, security hardening for domain join requires that you use the FQDN of the +domain controller. For example: `DC1.contoso.com`. For more information, see +[NetJoin Domain Join Hardning Changes](https://support.microsoft.com/topic/kb5020276-netjoin-domain-join-hardening-changes-2b65a0f3-1f4c-42ef-ac0f-1caaf421baf8). ```yaml Type: System.String