Skip to content

Powershell shouldn't install modules to MyDocuments as thats not for applications #195

@simonsabin

Description

@simonsabin

Microsoft is pushing more and more during Onedrive setup to have MyDocuments managed by onedrive.

Being a good dev and not running elevated means installing packages with -Scope CurrentUser but this means packages are stored in MyDocuments\WindowsPowershell or MyDocuments\Powershell. This means all modules are then synchronised up to OneDrive.

This is made worse by sporadic issues due to connecting of Onedrive.

  1. Collisions with OneDrive and the install-module resulting in modules not saving correctly
  2. Modules not used in a while get "archived off" and thus are downloaded on demand by onedrive resulting in problems when trying to load modules

Use of AppData would be much more appropriate for modules.

related items #41

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions