Commit Graph

2434 Commits

Author SHA1 Message Date
Markus Fleschutz
f7d66192af Update clear-dns-cache.ps1 2023-09-11 19:28:56 +02:00
Markus Fleschutz
37601075c8 Update check-repo.ps1 2023-09-11 15:57:46 +02:00
Markus Fleschutz
5f6e4d3fb4 Update what-is.ps1 2023-09-11 10:56:09 +02:00
Paul
e764c995de Small documentation error in the SYNOPSIS 2023-09-08 23:46:34 +02:00
Paul
b9deb748b0 Refactor and Enhance Firewall Script
- Replaced `$Profile` with `$FirewallProfile` to avoid conflict with built-in PowerShell variable.
- Introduced parameters for firewall rule direction (`$Direction`) and profile (`$FirewallProfile`).
- Removed redundant elevation using `Start-Process` and retained `#Requires -RunAsAdministrator`.
- Simplified path handling using `Convert-Path` and `-Filter` parameter of `Get-ChildItem`.
- Streamlined the loop for adding firewall rules with a direct `foreach`.
- Enhanced error handling for better user feedback and interaction.

This refactor improves readability, flexibility, and reduces potential for errors in the script.
2023-09-08 23:43:15 +02:00
Markus Fleschutz
84a62b5d4c Update the docs for *firefox* and *chrome* scripts 2023-09-08 20:09:27 +02:00
Markus Fleschutz
f93afeb4be Fix typo 2023-09-06 16:44:59 +02:00
Markus Fleschutz
9e5773e033 Update pull-repo.ps1 2023-09-06 16:43:16 +02:00
Markus Fleschutz
3bfb53cdc5 Update fetch-repo.ps1 2023-09-04 13:32:10 +02:00
Markus Fleschutz
653aae36a5 Update switch-brannch.ps1 2023-09-04 12:55:43 +02:00
Markus Fleschutz
fbda619d8f Add execute bit for Linux 2023-09-01 17:53:32 +02:00
Markus Fleschutz
151cbd90cd Update the manuals 2023-09-01 17:53:03 +02:00
Markus Fleschutz
95b66fe2bf Update sync-repo.ps1 2023-09-01 13:25:04 +02:00
Markus Fleschutz
f4bd6ef82b Update pull-repos.ps1 2023-09-01 09:53:29 +02:00
Markus Fleschutz
8c58536e17 Merge branch 'master' of github.com:fleschutz/PowerShell 2023-09-01 09:49:44 +02:00
Markus Fleschutz
8cc3c85a56 Update clean-repo.ps1 2023-09-01 09:49:00 +02:00
Markus Fleschutz
6eb7f26f1b Merge branch 'master' of github.com:fleschutz/PowerShell 2023-08-31 17:21:09 +02:00
Markus Fleschutz
e20ff1ad6f Update install-updates.ps1 2023-08-31 17:20:53 +02:00
Markus Fleschutz
f507273d2d Update new-branch.ps1 2023-08-31 09:51:20 +02:00
Markus Fleschutz
c79623d90f Update switch-branch.ps1 2023-08-31 08:06:10 +02:00
Markus Fleschutz
860b43149a Update list-dir-tree.ps1 2023-08-30 10:28:51 +02:00
Markus Fleschutz
141a1de976 Update write-code.ps1 2023-08-29 20:58:35 +02:00
Markus Fleschutz
8a1935170f Update new-branch.ps1 2023-08-29 17:22:53 +02:00
Markus Fleschutz
8d0522358d Update clean-repo.ps1 and switch-branch.ps1 2023-08-28 10:33:58 +02:00
Markus Fleschutz
4c0a77c2c7 Add write-in-emojis.ps1 2023-08-25 12:17:02 +02:00
Markus Fleschutz
bfa8c73c19 Update write-joke.ps1 and write-quote.ps1 2023-08-25 08:08:53 +02:00
Markus Fleschutz
175eabc661 Update check-power.ps1 2023-08-24 19:09:32 +02:00
Markus Fleschutz
1a5bde5cd3 Update tell-joke.ps1 and tell-quote.ps1 2023-08-24 14:29:49 +02:00
Markus Fleschutz
7958604a1b Updaate speak-arabic.ps1 and speak-greek.ps1 2023-08-24 14:24:38 +02:00
Markus Fleschutz
01939af228 Update speak-test.ps1 2023-08-24 14:20:31 +02:00
Markus Fleschutz
b9153cd5da Updated the scripts 2023-08-24 14:10:36 +02:00
Markus Fleschutz
68decf6c89 Updaate uninstall-one-calender.ps1 2023-08-24 13:45:27 +02:00
Markus Fleschutz
9f45904cb4 Update write-chart.ps1 2023-08-24 13:40:28 +02:00
Markus Fleschutz
da876a6e5a Update write-shit.ps1 2023-08-24 13:31:26 +02:00
Markus Fleschutz
7960632eb0 Add executable bit 2023-08-24 13:28:42 +02:00
Markus Fleschutz
3f609f6134 Update list-repos.ps1 2023-08-23 17:29:15 +02:00
Markus Fleschutz
a0344921e7 Rename to check-power.ps1 2023-08-23 17:14:06 +02:00
Markus Fleschutz
b3b302421d Update check-ram.ps1 2023-08-23 09:48:49 +02:00
Markus Fleschutz
eb38bf1148 Update list-tags.ps1 2023-08-22 09:37:14 +02:00
Markus Fleschutz
100b298870 Renamed to list-public-ip.ps1 2023-08-22 08:15:53 +02:00
Markus Fleschutz
c227fd586b Update check-drives.ps1 2023-08-21 23:20:29 +02:00
Markus Fleschutz
a8287d29cc Update check-swap-space.ps1 2023-08-21 23:11:36 +02:00
Markus Fleschutz
48bd375632 Update open-dashboards.ps1 2023-08-21 22:53:15 +02:00
Markus Fleschutz
f8159e0769 Update check-vpn.ps1 2023-08-21 22:06:58 +02:00
Markus Fleschutz
345da64609 Update the measure-*.ps1 scripts 2023-08-21 21:23:10 +02:00
Markus Fleschutz
14b028e1ce Update measure-SelectionSort.ps1 2023-08-21 20:47:16 +02:00
Markus Fleschutz
9c5a7849f2 Update measure-QuickSort.ps1 2023-08-21 20:42:19 +02:00
Markus Fleschutz
b9b6e0aa2f Update measure-MergeSort.ps1 2023-08-21 20:37:47 +02:00
Markus Fleschutz
02ad290752 Update measure-InsertionSort.ps1 2023-08-21 20:33:48 +02:00
Markus Fleschutz
c5414bd312 Update measure-HeapSort.ps1 2023-08-21 20:28:30 +02:00