Skip to content

Commit b4f52cf

Browse files
author
Robin Stolpe
committed
change .scr and added SupportsShouldProcess
1 parent 9bf2d09 commit b4f52cf

5 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Public/Function/Uninstall-RSModule.ps1 renamed to .src/Public/Function/Uninstall-RSModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
PSGallery: https://www.powershellgallery.com/profiles/rstolpe
3030
#>
3131

32-
[CmdletBinding()]
32+
[CmdletBinding(SupportsShouldProcess)]
3333
Param(
3434
[Parameter(Mandatory = $false, HelpMessage = "Enter the module or modules (separated with ,) you want to uninstall")]
3535
[string]$Module
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
PSGallery: https://www.powershellgallery.com/profiles/rstolpe
5555
#>
5656

57-
[CmdletBinding()]
57+
[CmdletBinding(SupportsShouldProcess)]
5858
Param(
5959
[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")]
6060
[string]$Module,

0 commit comments

Comments
 (0)