diff --git a/Recon/PowerView.ps1 b/Recon/PowerView.ps1 index d35a9f02..b9847f8e 100755 --- a/Recon/PowerView.ps1 +++ b/Recon/PowerView.ps1 @@ -2233,7 +2233,7 @@ filter Get-NetDomain { } } else { - [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() + [System.DirectoryServices.ActiveDirectory.Domain]::GetComputerDomain() } }