tiberriver256 (slack) @joerod - Just updated the docs with the new authentication guide that explains it:
$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-Modulewith 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
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)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. 😐
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.
DougFinke (discord) ```
Date Owner Name IsPrivate Issues PullRequests Releases Stargazers Watchers ForkCount
4/17/2021 7:51:37 AM PowerShell Polaris False 111 105 1 467 65 91
4/17/2021 7:51:38 AM posh-web PSWeb False 1 0 0 3 3 1
4/17/2021 7:51:38 AM Badgerati Pode False 348 383 63 343 30 36
4/17/2021 7:51:38 AM yusufozturk PoSHServer False 4 4 5 110 28 38
Get-GHMetricsis in my PSAdvantage module, it uses the GitHub REST API and GraphQL to get the stats.
Install-Module -Name PSAdvantage(edited)
tiberriver256 (slack)311 downloads from the PowerShell gallery in the last 6 weeks so somebody out there is still using it. I might be tempted to start contributing again if we could get someone on the Microsoft side that can get changes out to the PowerShell gallery. There have been 12 commits to the master branch on GH since the last PowerShell gallery push on 12/6/2018. Some of them with bug fixes.
tiberriver256 (slack)Tyler was pointing people to Pode as what he considered a better alternative before he left the PowerShell team though