GithubHelp home page GithubHelp logo

checkdcports.ps1's Introduction

CheckDCPorts.ps1

A script to check Active Directory Domain Services required ports

Examples:

  • Check fort open/closed ports for every DC in the domain

    .\CheckDCPorts.ps1 -Domain contoso.com

  • Check for Latency only to every DC in the domain

    .\CheckDCPorts.ps1 -LatencyOnly -Domain contoso.com

  • Check only against a particular server or servers

    .\CheckDCPorts.ps1 -Server DC1.contoso.com

    .\CheckDCPorts.ps1 -Server DC1.contoso.com,DC2.contoso.com

    .\CheckDCPorts.ps1 -Server DC1.contoso.com,DC2.contoso.com -LatencyOnly

Notes:

  • Run it on a DC to check DC to DC communication, or a server/client to check Client to DC communication.

  • The -Domain parameter requires the PowerShell AD module to be installed -part of AD RSAT (activedirectory)

  • Ports checked are:

    • 88 Kerberos
    • 389 LDAP
    • 636 LDAPS
    • 445 SMB
    • 3268 Global Catalog LDAP
    • 3269 Global Catalog LDAPs
    • 139 NetBIOS SSN
    • 464 Kerberos Password Change
    • 5722 WS 2008 R2 and below DFSR
    • 9389 PowerShell GET-AD* CmdLets
    • 5985 PowerShell Remoting
    • 5986 PowerShell Remoting over SSL
    • 123 NTP
    • 53 DNS

Sample Screenshot

checkdcports.ps1's People

Contributors

luisfeliz79 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.