WindowTechnicalStuffs
Wednesday, January 30, 2013
Bulk Port Query
ECHO #
for /f %%C in (ServerName.txt) do (
ECHO %%C >>port_report.txt
portQry.exe -n %%C -o 135,136,137,138,139,445,3389 -p both | find "LISTENING" >>port_report.txt
)
ECHO #
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment