diff options
author | Kevin Robertson <Kevin-Robertson@users.noreply.github.com> | 2023-01-10 19:48:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 19:48:35 -0500 |
commit | 3ad36e655d0dbe89941515cdb67a3fd518133dcb (patch) | |
tree | 365a92d23023a9e6431b8211bbefe84a56bd6e23 | |
parent | dbb6230244df9a2e19e879b5c3f7b141e6c36bcd (diff) | |
parent | ba445a34f5bcfad149a439071179a2bbecab9e7a (diff) | |
download | Powermad-3ad36e655d0dbe89941515cdb67a3fd518133dcb.tar.gz Powermad-3ad36e655d0dbe89941515cdb67a3fd518133dcb.zip |
Merge pull request #12 from 0xe7/mastermaster
remove check for $Zone in Remove-MachineAccount as it is not required
-rw-r--r-- | Powermad.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Powermad.ps1 b/Powermad.ps1 index 742e886..52b32c5 100644 --- a/Powermad.ps1 +++ b/Powermad.ps1 @@ -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
\ No newline at end of file +#endregion |