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

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html