mirror of
https://github.com/Kevin-Robertson/Powermad
synced 2026-06-08 11:28:52 +00:00
remove check for $Zone in Remove-MachineAccount as it is not required
This commit is contained in:
+2
-2
@@ -1029,7 +1029,7 @@ function Remove-MachineAccount
|
||||
throw
|
||||
}
|
||||
|
||||
if(!$DomainController -or !$Domain -or !$Zone)
|
||||
if(!$DomainController -or !$Domain)
|
||||
{
|
||||
|
||||
try
|
||||
@@ -4477,4 +4477,4 @@ function Get-KerberosAESKey
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user