Added empty-dir.ps1

This commit is contained in:
Markus Fleschutz 2020-10-06 16:23:20 +02:00
parent 847be37772
commit a4edd03857
2 changed files with 11 additions and 0 deletions

View File

@ -8,6 +8,7 @@ List of Scripts
The following PowerShell scripts can be found in the Scripts/ subfolder:
* [download.ps1](Scripts/download.ps1) - downloads the file/directory from the given URL
* [empty-dir.ps1](Scripts/empty-dir.ps1) - empties the given directory
* [exe_info.ps1](Scripts/exe_info.ps1) - prints basic information of the given executable file
* [lscmdlets.ps1](Scripts/lscmdlets.ps1) - lists all PowerShell cmdlets
* [lsmods.ps1](Scripts/lsmods.ps1) - lists all PowerShell modules

10
Scripts/empty-dir.ps1 Normal file
View File

@ -0,0 +1,10 @@
#!/snap/bin/powershell
::
:: Syntax: empty-dir.ps1 <dir>
:: Description: Empties the given directory. The content is removed!
:: Author: Markus Fleschutz
:: License: CC0
::
:: TODO
exit 0