Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PSUtil/PSUtil.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Version number of this module.

ModuleVersion = '2.2.38'
ModuleVersion = '2.2.39'

# ID used to uniquely identify this module
GUID = '9ef51588-c40c-4064-910d-9b624b758cf6'
Expand Down
4 changes: 4 additions & 0 deletions PSUtil/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.2.39 (2025-05-31)

+ Fix: Remove-PSUDirectory - stops asking whether you want to remove recursively, even after confirming execution

## 2.2.38 (2025-05-31)

+ New: Remove-PSUDirectory - Removes the current directory and moves the console to the parent folder.
Expand Down
2 changes: 1 addition & 1 deletion PSUtil/functions/explorer/Remove-PSUDirectory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

if ($Force -or (Test-PSFShouldProcess -Target $location -ActionString 'PSUtil.Remove-PSUDirectory.RemoveItem' -ActionStringValues $children.Count, $location -PSCmdlet $PSCmdlet)) {
Set-Location -Path '..'
Remove-Item -LiteralPath $location -Force -Confirm:$false
Remove-Item -LiteralPath $location -Force -Confirm:$false -Recurse
}
}
}
Expand Down