Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    daver99
    @daver99
    Have not tried Pode -- I saw the earlier comments and it does look more complete --- but maybe more complex to get going. My uses are super light so I love my one-file endpoints. Thanks though!
    PowerShell Connect
    @PoshConnect_twitter
    stuart303 (slack) Does anyone have an example of how to use Polaris with Streams?
    Joe Rodriguez
    @joerod
    when i enable negotiate for auth where do i add the user permissions for this in polaris?
    also is anyone using polaris behind an IIS reverse proxy?
    PowerShell Connect
    @PoshConnect_twitter
    acc (discord) i think reverse proxy support is limited, at least it was when i tried nginx a few months ago
    PowerShell Connect
    @PoshConnect_twitter

    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.
    PowerShell Connect
    @PoshConnect_twitter
    joerod (slack) Awesome, I only want to put it behind the reverse proxy so I’m sure negotiate is using Kerberos and not ntlm.

    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.

    PowerShell/Polaris#203

    PowerShell Connect
    @PoshConnect_twitter
    ashishcw (discord) Hi All,
    Hope you are doing fine, I've heard of this web-framework recently, and trying my hands at it just now.
    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?
    PowerShell Connect
    @PoshConnect_twitter
    ashishcw (discord) UPDATE : Upon stumbling across on google results, I assume, Polaris works with powershell 5.1 and above.
    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?
    PowerShell Connect
    @PoshConnect_twitter

    Peter Wawa (slack) According to your picture, you can't download reqiured nuget provider. It says in warning message:

    unable to download from url ...

    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.
    PowerShell Connect
    @PoshConnect_twitter
    ashishcw (discord) Thank you all for your quick response, and apologies from my end for being delayed at it.
    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 PoshWebFramework
    https://github.com/qschweitzer/Powershell-Web-Framework
    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. 😐
    PowerShell Connect
    @PoshConnect_twitter
    BrettMiller (discord) there is also pode which I know some people have looked at and quite like
    BrettMiller (discord) https://github.com/Badgerati/Pode
    Richie Jing
    @jm0477
    Is there anyone try to do the negotiation Auth with form submit? the default pop up looks terrible
    daver99
    @daver99
    Hi Polaris-ites. Back again..for another question. I've been running the same script on our windows 2016 essentials server for a simple status page, but now - just after a windows update, I can't see the polaris hosted pages from other computers. The script is still running and serving data to local requests, but I cant see it from other pc's anymore (still running as admin and firewall rule for my port (8082) is still listed) Anyone else see this issue after a windows server update?
    Just getting HTTP Error 400. The request hostname is invalid.
    daver99
    @daver99
    [fails the same if I use ip addres 192.168.1.124:8082 or server:8082 as base url
    PowerShell Connect
    @PoshConnect_twitter
    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.
    PowerShell Connect
    @PoshConnect_twitter
    freddie_sackur (discord) (I was sad to see ashishcw pick a framework without thinking about what is maintained)
    PowerShell Connect
    @PoshConnect_twitter
    Jaykul (discord) If you had put all of that in one post, I would have pinned it 😉
    PowerShell Connect
    @PoshConnect_twitter
    benjamin.elser18 (slack) Is anyone still using Polaris?
    PowerShell Connect
    @PoshConnect_twitter

    DougFinke (discord) @freddie_sackur ```
    $list = $(
    'PowerShell/Polaris'
    'posh-web/PSWeb'
    'Badgerati/Pode'
    'yusufozturk/PoSHServer'
    )

    $list | Get-GHMetrics
    ``` (edited)

    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
    ```

    DougFinke (discord) Get-GHMetrics is in my PSAdvantage module, it uses the GitHub REST API and GraphQL to get the stats.
    I'm going to see if GraphQL has the other info on commits, dates etc. Install-Module -Name PSAdvantage (edited)
    PowerShell Connect
    @PoshConnect_twitter
    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
    PowerShell Connect
    @PoshConnect_twitter
    belser (slack) You guys are awesome. Thank you.