-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathGenXdev.FileSystem.psm1
More file actions
28 lines (23 loc) · 1.32 KB
/
GenXdev.FileSystem.psm1
File metadata and controls
28 lines (23 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
if (-not $IsWindows) {
throw "This module only supports Windows 10+ x64 with PowerShell 7.5+ x64"
}
$osVersion = [System.Environment]::OSVersion.Version
$major = $osVersion.Major
if ($major -ne 10) {
throw "This module only supports Windows 10+ x64 with PowerShell 7.5+ x64"
}
. "$PSScriptRoot\Functions\GenXdev.FileSystem\_EnsureTypes.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Confirm-InstallationConsent.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\EnsurePester.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Expand-Path.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Find-DuplicateFiles.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Invoke-Fasti.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\ReadJsonWithRetry.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Remove-AllItems.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Remove-ItemWithFallback.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Rename-InProject.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\ResolveInputObjectFileNames.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Set-FoundLocation.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\Start-RoboCopy.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\WriteFileOutput.ps1"
. "$PSScriptRoot\Functions\GenXdev.FileSystem\WriteJsonAtomic.ps1"