diff options
author | 0xe7 <charlie@exploit.ph> | 2023-01-09 15:38:52 +0000 |
---|---|---|
committer | 0xe7 <charlie@exploit.ph> | 2023-01-09 15:38:52 +0000 |
commit | ba445a34f5bcfad149a439071179a2bbecab9e7a (patch) | |
tree | 365a92d23023a9e6431b8211bbefe84a56bd6e23 | |
parent | dbb6230244df9a2e19e879b5c3f7b141e6c36bcd (diff) | |
download | Powermad-ba445a34f5bcfad149a439071179a2bbecab9e7a.tar.gz Powermad-ba445a34f5bcfad149a439071179a2bbecab9e7a.zip |
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 |