Import Modules from Server

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 4 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
bhnuser
Posts: 48
Last visit: Tue Nov 21, 2023 10:33 pm

Re: Import Modules from Server

Post by bhnuser »

This script / tool should be used from our service employee. There are 15 people which should use this. For this reason, I ask for a solution.
I have read that the WinRM session number can be increased but then is global. A possibility for only a specific user to expand (service user behind the tool) the session number does not exist, right?
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Import Modules from Server

Post by jvierra »

The number of sessions is set globally. You can create a constrained endpoint for a specific user but that will still ad sessions. You can change the number with Group Policy.

It is really not possible to give you a comprehensive answer without knowing what you are trying to do or why you need a user to have so many sessions. It sounds like you really need to use a remote persistent session whci9h can be connected and disconnected as needed.
This topic is 4 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked