This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks.
pathToRepo Specifies the file path to the local Git repository (current working directory by default)
PS> ./check-repo.ps1 C:\MyRepo⏳ (1/10) Searching for Git executable... git version 2.41.0.windows.3⏳ (2/10) Checking local repository... C:\MyRepo⏳ (3/10) Querying remote URL... git@github.com:fleschutz/PowerShell.git⏳ (4/10) Querying current branch... main⏳ (5/10) Fetching remote updates... OK⏳ (6/10) Querying latest tag... v0.8 (at commit 02171a401d83b01a0cda0af426840b605e617f08)⏳ (7/10) Verifying data integrity......Author: Markus Fleschutz | License: CC0
This PowerShell script queries the status of the installed RAM memory modules and prints it.
PS> ./check-ram.ps1✅ 16GB DDR4 RAM at 3200MHz/1.2V in CPU0/CPU0-DIMM3 by MicronAuthor: Markus Fleschutz | License: CC0
This PowerShell script checks the given PowerShell script file(s) for validity.
filePattern Specifies the file pattern to the PowerShell file(s)
PS> ./check-ps1-file *.ps1✅ Valid PowerShell in myfile.ps1Author: Markus Fleschutz | License: CC0
This PowerShell script queries pending operating system reboots and prints it.
./check-pending-reboot.ps1✅ No pending reboot.Author: Markus Fleschutz | License: CC0
This PowerShell script checks the security status of the given password by haveibeenpwned.com
PS> ./check-password qwerty⚠️ Bad password, it's already listed in 10584568 known security breaches!Author: Markus Fleschutz | License: CC0
This PowerShell script checks the inbox of Outlook for new/unread mails.
PS> ./check-outlook.ps1✅ No new mails.Author: Markus Fleschutz | License: CC0
This PowerShell script checks the given MAC address for validity Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
MAC Specifies the MAC address to check
PS> ./check-mac-address 11:22:33:44:55:66✅ MAC address 11:22:33:44:55:66 is validAuthor: Markus Fleschutz | License: CC0
This PowerShell script checks the given IPv6 address for validity
Address Specifies the IPv6 address to check
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2✅ IPv6 fe80::200:5aee:feaa:20a2 is validAuthor: Markus Fleschutz | License: CC0
This PowerShell script checks the given IPv4 address for validity.
Address Specifies the IPv4 address to check
PS> ./check-ipv4-address 192.168.11.22✅ IPv4 192.168.11.22 is validAuthor: Markus Fleschutz | License: CC0
This PowerShell script queries the GPU status and prints it.
PS> ./check-gpu.ps1✅ NVIDIA Quadro P400 GPU (2GB RAM, 3840x2160 pixels, 32-bit, 59Hz, driver 31.0.15.1740) - status OKAuthor: Markus Fleschutz, Tyler MacInnis | License: CC0