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
-Scope CurrentUser has been added to mimic the Install-Module behavior, and the automatic profile setup is excluded when done on Windows.
---------
Co-authored-by: trackd <[email protected]>
Co-authored-by: Justin Grote <[email protected]>
Installs ImportExcel to the legacy PowerShell Modules folder in My Documents on Windows only, but does not update the PSModulePath or the user profile to include the new module path. This behavior is similar to Install-Module or Install-PSResource.
146
150
@@ -232,24 +236,36 @@ function Install-ModuleFast {
232
236
#Outputs the installation plan of modules not already available and needing to be installed to the pipeline as well as the console. This can be saved and provided to Install-ModuleFast at a later date. This is functionally the same as -WhatIf but without the additional WhatIf Output
233
237
[Switch]$Plan,
234
238
#This will output the resulting modules that were installed.
235
-
[Switch]$PassThru
239
+
[Switch]$PassThru,
240
+
#Setting this to "CurrentUser" is the same as specifying the destination as 'Current'. This is a usability convenience.
0 commit comments