menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right 002-3.4.2枚举 chevron_right 003-3.4.2.3 域内机器信息枚举.md
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    003-3.4.2.3 域内机器信息枚举.md
    571 B / 2021-07-17 00:01:42
        # 3.4.2.3 域内机器信息枚举
    
    获取域内机子信息:
    
    ```
    Get-NetComputer
    Get-NetComputer -OperatingSystem  "*server 2008*"  (探测特定操作系统机子)
    Get-NetComputer -Ping  (ping探测存活主机)
    Get-NetComputer -Fulldata
    
    ```
    
    .
    
    ```
    Get-ADComputer -Filter * -Proterties *
    Get-ADComputer -Filter * | select Name
    Get-ADComputer -Filter 'OperatingSystem -like "*Server 2016*"' -Properties OperatingSystem | select Name,OperatingSystem
    Get-ADComputer -Filter  * -Properties  DNSHostName | %{Test-Connection -Count 1 -Computer $_.DnsHostName}
    
    ```
    
    
    
    links
    file_download