Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
This outputs something like this:
@echo off setlocal enabledelayedexpansion set LogFile=C:\Tools\staleAdPc.log if not exist "%LogFile%" goto SkipRename for %%f in ("%LogFile%") do ( for /f "tokens=1-3 delims=/ " %%a in ("%%~tf") do (set TimeStamp=%%c%%a%%b) set NewName=%%~nf.old.!TimeStamp!%%~xf echo Renaming "%LogFile%" to "!NewName!" ... ren "%LogFile%" "!NewName!" ECHO File date: %%~tf ) :SkipRename dsquery computer OU=Depts,OU=x,DC=x,DC=x,DC=x,DC=x -inactive 8 -limit 300 > c:\tools\staleADpc.log
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.