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
Copy file name to clipboardExpand all lines: MaintainModule/MaintainModule.psm1
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ Function Uninstall-RSModule {
97
97
Write-Output"`n---/// Script Finished! ///---"
98
98
}
99
99
FunctionUpdate-RSModule {
100
-
<#
100
+
<#
101
101
.SYNOPSIS
102
102
This module let you maintain your installed modules in a easy way.
103
103
@@ -111,7 +111,7 @@ Function Update-RSModule {
111
111
.PARAMETERScope
112
112
Need to specify scope of the installation/update for the module, either AllUsers or CurrentUser. Default is CurrentUser.
113
113
If this parameter is empty it will use CurrentUser
114
-
The parameter -Scope don't effect the uninstall-module function this is because of limitation from Microsoft.
114
+
The parameter -Scope don't effect the uninstall-module function this is because of limitation from Microsoft.
115
115
- Scope effect Install/update module function.
116
116
117
117
.PARAMETERImportModule
@@ -156,7 +156,7 @@ Function Update-RSModule {
156
156
Param(
157
157
[Parameter(Mandatory=$false,HelpMessage="Enter module or modules (separated with ,) that you want to update, if you don't enter any all of the modules will be updated")]
158
158
[string]$Module,
159
-
[ValidateSet("CurrentUser","AllUsers")]
159
+
[ValidateSet("CurrentUser","AllUsers")]
160
160
[Parameter(Mandatory=$true,HelpMessage="Enter CurrentUser or AllUsers depending on what scope you want to change your modules")]
161
161
[string]$Scope="CurrentUser",
162
162
[Parameter(Mandatory=$false,HelpMessage="Import modules that has been entered in the module parameter at the end of this function")]
@@ -266,7 +266,7 @@ Function Update-RSModule {
266
266
# Collect all of the imported modules.
267
267
Write-Verbose"Collecting all of the installed modules..."
268
268
$ImportedModules=Get-Module|Select-Object Name, Version
0 commit comments