Hi,
For several days now, I've been trying to figure out one thing—running an interactive script on a remote server.
What exactly is the issue?
I want to configure a script (Test-NetConnection) that will check whether a given server can access another server at a specified IP address and port.
1. It will connect to a specific server (by IP address) from which the verification will be performed.
2. It will then ask for the destination address and port.
3. It will return the result from the given server.
Assumptions:
1. Selected users are to have access to this script/to run it.
2. Users do not have their own accounts on the remote server, so the script must run in the context of another user.
3. Users are not allowed to know this user's password.
I have the script ready, but I have no idea how to enforce its operation in the context of the above assumptions.
Thank you for your help and commitment.
Hello,
Thank you for reaching out on this matter.
Based on your description, it sounds like you’ll need a shared vault. You may already have one in place. From there, you can create a Remote PowerShell entry and insert the required script into it.
To manage access, go to the entry’s Properties > Permissions menu, where you can define the appropriate permissions.
Within the same entry, under the General section, you’ll find the Run As tab. Here, you can either assign a credential manually or link it to an existing credential entry.
Regarding password visibility: this can also be controlled through the Permissions menu (entry’s Properties > Permissions section). If you choose to link a credential entry (above), please ensure that the same viewing restrictions are applied to the credential entry itself, so users cannot view the password from there either.
Let me know if you have any further questions.
Best regards,
Jacob Lafrenière
Hello,
Thank you for reaching out on this matter.
Based on your description, it sounds like you’ll need a shared vault. You may already have one in place. From there, you can create a Remote PowerShell entry and insert the required script into it.
To manage access, go to the entry’s Properties > Permissions menu, where you can define the appropriate permissions.
Within the same entry, under the General section, you’ll find the Run As tab. Here, you can either assign a credential manually or link it to an existing credential entry.
Regarding password visibility: this can also be controlled through the Permissions menu (entry’s Properties > Permissions section). If you choose to link a credential entry (above), please ensure that the same viewing restrictions are applied to the credential entry itself, so users cannot view the password from there either.
Let me know if you have any further questions.
Best regards,
Thank you for your reply.
I configured Powershell Remote like below:





In "embedded script" i have my script.
But when I try to run this entry, I have error:

Despite tha fact that:


Hello,
Thank you for the follow-up.
This looks good! We recently identified an issue with PowerShell in a previous version of RDM. Could you please confirm which version of RDM you are currently using?
I highly recommend updating to the latest version: 2025.3.27.0.
I look forward to your reply.
Best regards,
Jacob Lafrenière