Remote debug - server core?

Anything you want to tell us? Praise? Criticism? Post it here. Please keep it professional and constructive.
Forum rules
Do not post any licensing information in this forum.
This topic is 4 years and 5 months 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
renenielsen
Posts: 13
Last visit: Thu Feb 16, 2023 8:04 am

Remote debug - server core?

Post by renenielsen »

I am attempting to set up remote debug for PowerShell scripting. My local system is a current Windows 10 desktop running PowerShell Studio. The target system is Hyper-V Server 2012 R2.

The immediate issue is with Cache Export. Specifically, when I execute ExportCacheCLI.exe on the remote server I get no output. This includes no command option output when not specifying the -Build & -Export switches.

The first question is: Is this scenario supported? Should I be able to remote debug against this O/S?

Next: If yes, what might I be missing such that I am getting no response from ExportCacheCLI?

Any other insights are appreciated.
RN
User avatar
mxtrinidad
Posts: 399
Last visit: Tue May 16, 2023 6:52 am

Re: Remote debug - server core?

Post by mxtrinidad »

The general scenario of remote connect to a system, as long as winrm is properly configured, it's supported.

We got an article about using ExportCacheCLI.exe tool soon to be release. But in a summary I recommend the following steps:

1. Create a shared folder on your local drive and unzipped the "CacheExport2019.zip" into it.
2. On the editor host console, PSremote to the system, then mapped the drive back to the shared folder.
3. Run the "ExportCacheCLI.exe" from the mapped drive. This will create the file "[ServerName].cacheexport".
4. Close the PSremoting connection "exit".
5. Load the export cache file in the editor using the "Import Remote Cache" option using Windows PowerShell Remoting.
6. Then, in the Platform, change the "Local Machine", drop down the list to find the remote server name.
7. The "object browser" will be updated with the remote system cached modules.

You should be good to go! And all these steps done from the editor.

How this helps!

Thanks
User avatar
Alexander Riedel
Posts: 8473
Last visit: Tue Mar 19, 2024 1:15 am
Answers: 19
Been upvoted: 37 times

Re: Remote debug - server core?

Post by Alexander Riedel »

Please post in the appropriate product forum and provide the information requested there. Without proper information or even knowing which product you are using it is not possible to provide you with support.
You have not told us which product, what version, what build or what exact platform you are running on. "Windows 10" is too vague. There are just too many versions, builds and variations. It might not matter always, but if we have to go back and ask, it just takes time.

The feedback forum is not under any circumstances a place to request support for a product. It is usually not monitored by SAPIEN staff trained to answer product questions.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 4 years and 5 months 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