A cross-platform, minimalist web framework for PowerShell - https://www.powershellgallery.com/packages/Polaris
tiberriver256 (slack)
It should print the full url like: http://pstvman.westus2.cloudapp.azure.com
tiberriver256 (slack)
If you need https there's some good tips on this issue for setting it up:
PowerShell/Polaris#107
Still open issue to get it into the docs
lxlechat (slack)
if you have a litle money, you should try UniversalDashboard
tiberriver256 (slack)
@joerod - Just updated the docs with the new authentication guide that explains it:
https://powershell.github.io/Polaris/docs/about_Authentication.html
tl;dr $Request.User.IsInRole('Administrators')
is how you check to see if the authenticated user is in a particular security group
tiberriver256 (slack)
Putting it behind a reverse proxy should be similar to putting Node.js or something else behind a reverse proxy. Introducing a reverse proxy inherently brings a few limitations but Polaris (or any other web server) wouldn't really have any way to know it's behind a reverse proxy or be able to behave any differently. It should just work. I haven't seen any blog posts on anyone using it behind IIS reverse proxy yet though.
tiberriver256 (slack)
Never merged it because I was going to clean up grammatical errors but I believe this was a technically valid explanation of getting Kerberos working w/ Polaris if you want to check it out and see if it works for you.
ashishcw (discord)
So, trying to install on PS 4.0 with git repo(psd) file.
ashishcw (discord)
but it's giving an error.
ashishcw (discord)
can anyone please point me in the right direction, as where can I find a documentation or how to guide?
ashishcw (discord)
So, I updated my $PSVersion
ashishcw (discord)
however I am still unable to get this thing working.
ashishcw (discord)
what am I doing wrong here?
ashishcw (discord)
any clue? someone?
Peter Wawa (slack)
if you want to load the module from local path, use Import-Module
with path to .psd1 file
🌸Joel🌸 (discord)
@ashishcw looks like a TLS issue
🌸Joel🌸 (discord)
try running this and then run the install again:[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
tiberriver256 (slack)
Install-Module will download it from PowerShell Gallery, which we haven't been able to get a new version out to in quite awhile. If you want to use the latest from the code repo use the import-module ./Polaris.psd1
method.
ashishcw (discord)
I finally, managed to get it working with powershell, as per my understanding, there are 2 basic requirements, PSVersion >= 5.1 and Execution policy set to bypass.
ashishcw (discord)
Earlier, when the Execution policy was set to default, it gave me that error
ashishcw (discord)
also, while I am this topic, I found another powershell web frame work PoshWebFrameworkashishcw (discord)
It's far easy to understand and to configure the webpages on the go.
ashishcw (discord)
So I am exploring both of these options, to see, which serves my purpose the better.
ashishcw (discord)
by anyway, would any of you have any examples for polaris? I am having hard time to find any examples/usage case for it.
ashishcw (discord)
@🌸Joel🌸 Thanks for your input, I found the issue was with my execution policy, cause, once I set it bypass, it worked fine. 😐
BrettMiller (discord)
https://github.com/Badgerati/Pode
freddie_sackur (discord)
To anyone else hitting this channel, I've just assessed these options:freddie_sackur (discord)
HttpListener is on every box and ultra-basic.
freddie_sackur (discord)
Pode has 650 issues on github, all closed, only 18 left open. It has 1351 commits, most recently 6 days ago. Someone has put a lot of effort into the docs. It has a lot of features yet seems simple to use.