You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The group policy will register repositories as the only repositories allowed to be installed from if the policy is enabled.
If the policy is enabled no other repositories will be allowed.
The policy will take in a list of repositories, at minimum a name;uri pair or a full hashtable (or json may be preferred) of repository information.
The policy will initially be Windows only but we will explore enabling on non-Windows via Intune policy and file system.
The policy will be checked at each call to a repository, we will assume same privileges for all operations.
There will also be a function/api that will expose if the policy is enabled and what repository Uris are available so that other tools which call PSResourceGet (such as WinGet) can integrate to this functionality.
If an exact repo is specified that is not allowed it will be a terminating error. If no repo is specified all allowed repos will be seared and it will be a non-terminating error.
@SydneyhSmith This seems like it would be appreciated by the many organizations that still love group policy!
Ideally, this should be easy to get/set with PowerShell as well (for those people who dislike the group policy editor, or anything outside of the command line).
Summary of the new feature / enhancement
The group policy will register repositories as the only repositories allowed to be installed from if the policy is enabled.
If the policy is enabled no other repositories will be allowed.
The policy will take in a list of repositories, at minimum a name;uri pair or a full hashtable (or json may be preferred) of repository information.
The policy will initially be Windows only but we will explore enabling on non-Windows via Intune policy and file system.
The policy will be checked at each call to a repository, we will assume same privileges for all operations.
There will also be a function/api that will expose if the policy is enabled and what repository Uris are available so that other tools which call PSResourceGet (such as WinGet) can integrate to this functionality.
If an exact repo is specified that is not allowed it will be a terminating error. If no repo is specified all allowed repos will be seared and it will be a non-terminating error.
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: