print sorted list of $IncludedPaths
This commit is contained in:
@@ -108,7 +108,7 @@ ForEach ( $plan in $BackupPlans ) {
|
|||||||
# Print all paths in $IncludedPaths
|
# Print all paths in $IncludedPaths
|
||||||
If ( $IncludedPaths.Length -gt 0 ) {
|
If ( $IncludedPaths.Length -gt 0 ) {
|
||||||
Write-Output "Paths to backup:"
|
Write-Output "Paths to backup:"
|
||||||
ForEach ( $path in $IncludedPaths ) { Write-Output $path }
|
ForEach ( $path in ($IncludedPaths | Sort-Object) ) { Write-Output $path }
|
||||||
}
|
}
|
||||||
|
|
||||||
# Define $MaxFileSize if it exists, or set it to the max value of a long to bypass it
|
# Define $MaxFileSize if it exists, or set it to the max value of a long to bypass it
|
||||||
|
|||||||
Reference in New Issue
Block a user