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

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

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS