Skip to content

Commit bcf1f3c

Browse files
committed
Release 1.248.2025
1 parent d70a20d commit bcf1f3c

3 files changed

Lines changed: 55 additions & 4 deletions

File tree

GenXdev.FileSystem.psd1

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'GenXdev.FileSystem.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.246.2025'
15+
ModuleVersion = '1.248.2025'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core'
@@ -75,13 +75,62 @@ FunctionsToExport = 'EnsurePester', 'Expand-Path', 'Find-DuplicateFiles', 'Find-
7575
'Rename-InProject', 'ResolveInputObjectFileNames', 'Start-RoboCopy'
7676

7777
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
78-
CmdletsToExport = @()
78+
CmdletsToExport = 'Add-Content', 'Add-Member', 'Add-Type', 'Clear-Content', 'Clear-Item',
79+
'Clear-ItemProperty', 'Clear-RecycleBin', 'Clear-Variable',
80+
'Compare-Object', 'Convert-Path', 'ConvertFrom-CliXml',
81+
'ConvertFrom-Csv', 'ConvertFrom-Json', 'ConvertFrom-Markdown',
82+
'ConvertFrom-SddlString', 'ConvertFrom-StringData',
83+
'ConvertTo-CliXml', 'ConvertTo-Csv', 'ConvertTo-Html', 'ConvertTo-Json',
84+
'ConvertTo-Xml', 'Copy-Item', 'Copy-ItemProperty', 'Debug-Process',
85+
'Debug-Runspace', 'Disable-PSBreakpoint', 'Disable-RunspaceDebug',
86+
'Enable-PSBreakpoint', 'Enable-RunspaceDebug', 'Export-Alias',
87+
'Export-Clixml', 'Export-Csv', 'Export-FormatData', 'Export-PSSession',
88+
'Format-Custom', 'Format-Hex', 'Format-List', 'Format-Table',
89+
'Format-Wide', 'Get-Alias', 'Get-ChildItem', 'Get-Clipboard',
90+
'Get-ComputerInfo', 'Get-Content', 'Get-Counter', 'Get-Culture',
91+
'Get-Date', 'Get-Error', 'Get-Event', 'Get-EventSubscriber',
92+
'Get-FileHash', 'Get-FormatData', 'Get-Host', 'Get-HotFix', 'Get-Item',
93+
'Get-ItemProperty', 'Get-ItemPropertyValue', 'Get-Location',
94+
'Get-MarkdownOption', 'Get-Member', 'Get-Process', 'Get-PSBreakpoint',
95+
'Get-PSCallStack', 'Get-PSDrive', 'Get-PSProvider', 'Get-Random',
96+
'Get-Runspace', 'Get-RunspaceDebug', 'Get-SecureRandom', 'Get-Service',
97+
'Get-TimeZone', 'Get-TraceSource', 'Get-TypeData', 'Get-UICulture',
98+
'Get-Unique', 'Get-Uptime', 'Get-Variable', 'Get-Verb', 'Get-WinEvent',
99+
'Group-Object', 'Import-Alias', 'Import-Clixml', 'Import-Csv',
100+
'Import-LocalizedData', 'Import-PowerShellDataFile',
101+
'Import-PSSession', 'Invoke-Expression', 'Invoke-Item',
102+
'Invoke-RestMethod', 'Invoke-WebRequest', 'Join-Path', 'Join-String',
103+
'Measure-Command', 'Measure-Object', 'Move-Item', 'Move-ItemProperty',
104+
'New-Alias', 'New-Event', 'New-Guid', 'New-Item', 'New-ItemProperty',
105+
'New-Object', 'New-PSDrive', 'New-Service', 'New-TemporaryFile',
106+
'New-TimeSpan', 'New-Variable', 'New-WinEvent', 'Out-File',
107+
'Out-GridView', 'Out-Printer', 'Out-String', 'Pop-Location',
108+
'Push-Location', 'Read-Host', 'Register-EngineEvent',
109+
'Register-ObjectEvent', 'Remove-Alias', 'Remove-Event', 'Remove-Item',
110+
'Remove-ItemProperty', 'Remove-PSBreakpoint', 'Remove-PSDrive',
111+
'Remove-Service', 'Remove-TypeData', 'Remove-Variable',
112+
'Rename-Computer', 'Rename-Item', 'Rename-ItemProperty', 'Resolve-Path',
113+
'Restart-Computer', 'Restart-Service', 'Resume-Service',
114+
'Select-Object', 'Select-String', 'Select-Xml', 'Send-MailMessage',
115+
'Set-Alias', 'Set-Clipboard', 'Set-Content', 'Set-Date', 'Set-Item',
116+
'Set-ItemProperty', 'Set-Location', 'Set-MarkdownOption',
117+
'Set-PSBreakpoint', 'Set-Service', 'Set-TimeZone', 'Set-TraceSource',
118+
'Set-Variable', 'Show-Command', 'Show-Markdown', 'Sort-Object',
119+
'Split-Path', 'Start-Process', 'Start-Service', 'Start-Sleep',
120+
'Stop-Computer', 'Stop-Process', 'Stop-Service', 'Suspend-Service',
121+
'Tee-Object', 'Test-Connection', 'Test-Json', 'Test-Path',
122+
'Trace-Command', 'Unblock-File', 'Unregister-Event',
123+
'Update-FormatData', 'Update-List', 'Update-TypeData', 'Wait-Debugger',
124+
'Wait-Event', 'Wait-Process', 'Write-Debug', 'Write-Error', 'Write-Host',
125+
'Write-Information', 'Write-Output', 'Write-Progress', 'Write-Verbose',
126+
'Write-Warning'
79127

80128
# Variables to export from this module
81129
VariablesToExport = @()
82130

83131
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
84-
AliasesToExport = 'ep', 'fasti', 'fdf', 'l', 'rc', 'recycle', 'rip', 'rmf', 'sdel', 'xc'
132+
AliasesToExport = 'ep', 'fasti', 'fdf', 'fhx', 'gcb', 'gin', 'gtz', 'l', 'rc', 'recycle', 'rip', 'rmf',
133+
'scb', 'sdel', 'stz', 'xc'
85134

86135
# DSC resources to export from this module
87136
# DscResourcesToExport = @()

GenXdev.FileSystem.psm1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ if ($major -ne 10) {
1111
}
1212

1313

14+
15+
. "$PSScriptRoot\Functions\GenXdev.FileSystem\_EnsureTypes.ps1"
1416
. "$PSScriptRoot\Functions\GenXdev.FileSystem\EnsurePester.ps1"
1517
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Expand-Path.ps1"
1618
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Find-DuplicateFiles.ps1"

Tests/GenXdev.FileSystem/Find-Item.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Pester\Describe 'Find-Item 1' {
313313

314314
Pester\It 'Should match the pattern' {
315315

316-
$found = @(GenXdev.FileSystem\Find-Item -SearchMask "$PSScriptRoot\..\..\..\..\..\**\Genx*stem\1.246.2025\Functions\GenXdev.FileSystem\*.ps1" -PassThru | Microsoft.PowerShell.Utility\Select-Object -ExpandProperty FullName)
316+
$found = @(GenXdev.FileSystem\Find-Item -SearchMask "$PSScriptRoot\..\..\..\..\..\**\Genx*stem\1.248.2025\Functions\GenXdev.FileSystem\*.ps1" -PassThru | Microsoft.PowerShell.Utility\Select-Object -ExpandProperty FullName)
317317

318318
$found | Pester\Should -Contain (GenXdev.FileSystem\Expand-Path "$PSScriptRoot\..\..\Functions\GenXdev.FileSystem\EnsurePester.ps1")
319319
$found | Pester\Should -Contain (GenXdev.FileSystem\Expand-Path "$PSScriptRoot\..\..\Functions\GenXdev.FileSystem\Expand-Path.ps1")

0 commit comments

Comments
 (0)