This PowerShell script lists the content of a directory (alphabetically formatted in columns).
SearchPattern Specifies the search pattern ("*" by default which means anything)
PS> ./list-folder.ps1 C:\*Author: Markus Fleschutz | License: CC0
This PowerShell script lists the first 100 Fibonacci numbers.
PS> ./list-fibonacci.ps11, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...Author: Markus Fleschutz | License: CC0
This PowerShell script lists the current exchange rates for the given currency (USD per default).
currency Specifies the base currency
PS> ./list-exchange-rates.ps1 EURCurrent Exchange Rates for 1 EUR (source: http://www.floatrates.com)================================Rate Currency Inverse Date---- -------- ------- ----1.09489154 USD - U.S. Dollar 0.91333248 Sun, 6 Aug 2023 11:55:02 GMT...Author: Markus Fleschutz | License: CC0
This PowerShell script lists all environment variables.
PS> ./list-environment-variables.ps1Name Value---- -----ALLUSERSPROFILE C:\ProgramData...Author: Markus Fleschutz | License: CC0
This PowerShell script scans a directory tree and lists all empty files.
path Specifies the path to the directory tree (default is current working dir)
PS> ./list-empty-files.ps1 C:\Windows...✅ Found 6 empty files within C:\Windows in 54 secAuthor: Markus Fleschutz | License: CC0
This PowerShell script scans a directory tree and lists all empty directories.
path Specifies the path to the directory tree (current working directory by default)
PS> ./list-empty-dirs.ps1 C:\Windows...✅ Found 39972 empty directories within 📂C:\Windows in 222 secAuthor: Markus Fleschutz | License: CC0
This PowerShell script lists the emojis of Unicode 13.0 sorted by category.
PS> ./list-emojis.ps1Author: Markus Fleschutz | License: CC0
This PowerShell script lists major earthquakes for the last 30 days.
minMagnitude Specifies the minimum magnitude to list (5.5 by default)
PS> ./list-earthquakes.ps1MAG LOCATION DEPTH TIME UTC--- -------- ----- --------7.2 98 km S of Sand Point, Alaska 33 km 2023-07-16T06:48:22.606Z...Author: Markus Fleschutz | License: CC0
This PowerShell script lists all files and folders in a neat directory tree (including icon and size).
path Specifies the path to the directory tree
PS> ./list-dir-tree.ps1 C:\MyFolder├📂Results│ ├📄sales.txt (442K)(2 folders, 1 file, 442K file size in total)Author: Markus Fleschutz | License: CC0
This PowerShell script queries the current crypto exchange rates from cryptocompare.com and lists it in USD/EUR/CNY/JPY.
PS> ./list-crypto-rates.ps1CRYPTOCURRENCY US$ €UR CN¥Y JPY-------------- --- --- --- ---1 Bitcoin (BTC) = 97309.81 94385.57 38800 14798679.56...Author: Markus Fleschutz | License: CC0