Hello,
Newb here, I just discovered Powershell Universal a few hours ago and I’m intrigued. I installed the software on my Windows 10 and testing here. I created a very simple script “get-process” just to test to see if I got any about from the PowerShell console.
I can run the script in the portal without any issues. But when i run it “remotely” local PowerShell console i get the following error message:
Invoke-RestMethod “http://localhost:5000/test”
Invoke-RestMethod : The remote server returned an error: (404) Not Found.
At line:1 char:1
Hello,
Thanks for your response. I dont have that folder, the installation is on the “c:\Program Files (x86)\Universal”. I also did a search on the entire disk and nothing.
@jchera You can view the file suggested by @BuggeX in the admin console by navigating to Settings \ Configurations and then clicking the Repository \ .universal \ endpoints.ps1 file.
Not sure if you changed endpoints after you created this post, but as far as I can tell, there
is no endpoint configured for test, so ofc the server would return 404.
I also don’t see an endpoint that has get-process, so i believe you mistook Automation/Scripts with APIs/Endpoints?