PowerShell / PowerShell/PSResourceGet

Have Discussion for Nanoserver Requiring Parameters for PSGet commands

Open
#312 3 comments 0 reactions 4 assignees View on GitHub

Nobody has claimed this yet.

Area-Install Issue-Discussion
Dominant language
C#
Stars
576
Forks
114
Avg merge
1d 2h
Merged PRs (30d)
7

Description

Currently there's a known issue in PowerShell-Docker for nanoserver subsystem where you have to specify -Scope CurrentUser and, for certain modules/cases, -SkipPublisherCheck for Install-Module. This is because the nanoserver API for the user subsystem that checks where to install has been disabled for nanoserver. The API is from the nanoserver side, but they half-removed/disabled the subsystem to switch user because nanoserver is intended for container use.

We could discuss adding a check for whether PSGet is being run on nanoserver and if so including these parameters onto the PSGet cmdlet, so that the user doesn't have to add it themselves.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.