I installed the MSI on two devices. I was following along with the documentation to setup HTTPS:
It stated:
Next, you’ll need to configure PowerShell Universal to use the certificate. This can be accomplished by editing or creating the appsettings.json file in %ProgramData%\PowerShellUniversal . This file should already exist if you installed with the MSI installer.
Now i didn’t have this file. So i went looking into the docs and landed at:
It shows a ‘configurations’ item in the screenshot.
However, when I look at mine, I don’t have that:
It’s been renamed to files. We’ll get the screenshot updated in the docs.
If the appsettings.json file does not exist in %ProgramData%\PowerShellUniversal, you can just create it yourself. That said, the MSI should always be creating it.
It didn’t create it, not on 3 devices.
Everything seems to be functioning correctly.
I hope I can continue with my further setup? Or is this a breaking matter?
Another note: Your documentation show under ‘roles’ a button ‘view claim information’
The two buttons that are missing will be added back in 5.0.6.
As for the appsettings.json, it is not a requirement as the PSU server will use the default values. That said, we use a custom action in the MSI to write this file out and I’ve never seen it not write that file. Did you set any configuration options in the installer or just leave it all default? As for internet access, it is not required by the installer.
I just ran the MSI. I logged my installation procedure so i can share it here:
• Start MSI
• Install Type: Server
• Service Account: Leave empty , otherwise it'll fail! (it failed the first time i tried, found a old forum post where you suggested to run it without and configure the service later on.)
○ Check box : Start service after installation
• Port: 5000
○ Check box: Add Universal to the $Env:PSModulePath
As mentioned, it’s not an invalid state per se, but I would recommend creating the file and editing any of these settings you wish here rather than in the Program Files directory.