Improved the scripts

This commit is contained in:
Markus Fleschutz
2021-02-18 20:17:55 +01:00
parent d5032a9d02
commit 87409780ff
62 changed files with 221 additions and 202 deletions

View File

@ -6,12 +6,13 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
param([string]$Folder)
param($Folder = "")
if ($Folder -eq "" ) {
$Folder = read-host "Enter path to folder"
}
try {
if ($Folder -eq "" ) {
[string]$Folder = read-host "Enter path to folder"
}
Get-ChildItem -path $Folder -recurse | select FullName
exit 0
} catch {