Open GalacticMaster opened 6 years ago
Hi, can you provide the command used and the output ?
ADRecon will ask for credentials in the following conditions: (excluding RUNAS)
In these conditions, a PSCredential object is expected (-Credential parameter) and the Domain Controller FQDN/IP Address (-DomainController parameter).
Example: (Domain Controller IP address is 192.168.9.1)
$creds = Get-Credential
.\ADRecon.ps1 -DomainController 192.168.9.1 -Credential $creds
I use the machine in the domain, then log in with the domain user, which also needs credentials after execution.
Hi @pxss,
Could you please share the exact command you are using and the output?
嗨@pxss,
你能否分享你正在使用的确切命令和输出?
.\ADRecon.ps1 -DomainController 192.168.9.1 -Credential test.com\testuser
If you are using from a machine in the domain and logged in with the domain user, you dont need to specify the -DomainController and -Credential parameters.
.\ADRecon.ps1
Should work fine.
If you specify the -DomainController or -Credential parameter, you will be prompted for the credentials.
Hey,
it is asking me for credentials, why can it uses existing credentials.