Query on Portqry


hi,

can let me know possibility of running portqry command without downloading portqry.exe ?

the reason asking need write script collect rdp information run locally on machine.if software download require,i need in each machine in running script.

note : know , can run portqry command remotely, not require in way.

can let me know possibilities please ?

download portqry , save on \\someserver\someshare\portqry.exe

in script writing, insert following lines :

<your scriptcode>

copy \\someserver\someshare\portqry.exe %temp%
%temp%\portqry <some parameters>

<remainingscriptcode>


don [doesn't work msft, , they're glad ;]



Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Windows server 2012 r2 inplace upgrade failed

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)