Rename Data into data

This commit is contained in:
Markus Fleschutz 2023-10-31 11:25:11 +01:00
parent 35e940a00c
commit f826630e72
583 changed files with 624 additions and 624 deletions

View File

@ -3,7 +3,7 @@ Mega Collection of PowerShell Scripts
**It includes 500+ useful cross-platform PowerShell scripts located in the [📂Scripts](Scripts/) subfolder - for the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell.** **It includes 500+ useful cross-platform PowerShell scripts located in the [📂Scripts](Scripts/) subfolder - for the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell.**
**[Download](https://github.com/fleschutz/PowerShell/releases) | [Table of Scripts](https://github.com/fleschutz/PowerShell/blob/master/Data/scripts.csv) | [FAQ](docs/FAQ.md)** | **Note:** the scripts support Unicode - a modern console is recommended (e.g. *Windows Terminal*) **[Download](https://github.com/fleschutz/PowerShell/releases) | [Table of Scripts](https://github.com/fleschutz/PowerShell/blob/master/data/scripts.csv) | [FAQ](docs/FAQ.md)** | **Note:** the scripts support Unicode - a modern console is recommended (e.g. *Windows Terminal*)
🔊 Scripts for Audio & Voice 🔊 Scripts for Audio & Voice
----------------------------- -----------------------------

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Adds firewall rules for executables (needs admin rights). Adds firewall rules for executables (needs admin rights).
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Adds a memo text Adds a memo text
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Handles and escalates an alert Handles and escalates an alert
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Builds a repository Builds a repository
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Builds Git repositories Builds Git repositories
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's autostart folder Sets the working directory to the user's autostart folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Change to the crash dumps folder Change to the crash dumps folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's desktop folder Sets the working directory to the user's desktop folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the documents folder Sets the working directory to the documents folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's downloads folder Sets the working directory to the user's downloads folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's Dropbox folder Sets the working directory to the user's Dropbox folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Changes to the /etc directory Changes to the /etc directory
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the fonts folder Sets the working directory to the fonts folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's home folder Sets the working directory to the user's home folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the logs folder Sets the working directory to the logs folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's music folder Sets the working directory to the user's music folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's OneDrive folder Sets the working directory to the user's OneDrive folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's pictures folder Sets the working directory to the user's pictures folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the Public folder Sets the working directory to the Public folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's recycle bin folder Sets the working directory to the user's recycle bin folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's repos folder Sets the working directory to the user's repos folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the root directory Sets the working directory to the root directory
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's screenshots folder Sets the working directory to the user's screenshots folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the PowerShell scripts folder Sets the working directory to the PowerShell scripts folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's SSH folder Sets the working directory to the user's SSH folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the temporary folder Sets the working directory to the temporary folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the templates folder Sets the working directory to the templates folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's trash folder Sets the working directory to the user's trash folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to one level up Sets the working directory to one level up
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to two directory levels up Sets the working directory to two directory levels up
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to three directory levels up Sets the working directory to three directory levels up
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to four directory levels up Sets the working directory to four directory levels up
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the users directory Sets the working directory to the users directory
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the user's videos folder Sets the working directory to the user's videos folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Sets the working directory to the Windows directory Sets the working directory to the Windows directory
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Changes the wallpaper Changes the wallpaper
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Query the app status Query the app status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the BIOS status Checks the BIOS status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the CPU status Checks the CPU status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Determines the current day Determines the current day
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Check the DNS resolution Check the DNS resolution
.DESCRIPTION .DESCRIPTION
@ -14,7 +14,7 @@
try { try {
Write-Progress "Measuring DNS resolution..." Write-Progress "Measuring DNS resolution..."
$table = Import-CSV "$PSScriptRoot/../Data/popular-domains.csv" $table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv"
$numRows = $table.Length $numRows = $table.Length
$stopWatch = [system.diagnostics.stopwatch]::startNew() $stopWatch = [system.diagnostics.stopwatch]::startNew()

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks a drive for free space left Checks a drive for free space left
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the drive space Checks the drive space
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the time of dusk Checks the time of dusk
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the time until Easter Sunday Checks the time until Easter Sunday
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the file system of a drive (needs admin rights) Checks the file system of a drive (needs admin rights)
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the firewall status Checks the firewall status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the GPU status Checks the GPU status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the hardware Checks the hardware
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the system health Checks the system health
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the time until Independence Day Checks the time until Independence Day
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks an IPv4 address for validity Checks an IPv4 address for validity
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks an IPv6 address for validity Checks an IPv6 address for validity
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the ISS position Checks the ISS position
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the given MAC address for validity Checks the given MAC address for validity
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks for Midnight Checks for Midnight
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Gets the current month name Gets the current month name
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the Moon phase Checks the Moon phase
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the network details Checks the network details
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the time until New Year Checks the time until New Year
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks for Noon Checks for Noon
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the OS status Checks the OS status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks Outlook's inbox Checks Outlook's inbox
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks a password Checks a password
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Check for pending reboots Check for pending reboots
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the ping latency Checks the ping latency
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the power status Checks the power status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Check the PowerShell status Check the PowerShell status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks PowerShell file(s) for validity Checks PowerShell file(s) for validity
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the RAM Checks the RAM
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks a repo Checks a repo
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the time until Saint Nicholas Day Checks the time until Saint Nicholas Day
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the SMART device status Checks the SMART device status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the software Checks the software
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the given subnet mask for validity Checks the given subnet mask for validity
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the swap space Checks the swap space
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks symlinks in a folder Checks symlinks in a folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the time zone Checks the time zone
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the uptime Checks the uptime
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the VPN status Checks the VPN status
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the weather Checks the weather
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Determines the week number Determines the week number
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the wind conditions Checks the wind conditions
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the validity of the Windows system files (requires admin rights) Checks the validity of the Windows system files (requires admin rights)
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Checks the given XML file for validity Checks the given XML file for validity
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Cleans a repo Cleans a repo
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Cleans all Git repositories in a folder from untracked files Cleans all Git repositories in a folder from untracked files
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Clears the DNS cache Clears the DNS cache
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Clears the recycle bin folder Clears the recycle bin folder
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Clones Git repos Clones Git repos
.DESCRIPTION .DESCRIPTION
@ -25,7 +25,7 @@ try {
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
Write-Host "⏳ (2) Reading Data/popular-repositories.csv... " -noNewline Write-Host "⏳ (2) Reading Data/popular-repositories.csv... " -noNewline
$table = Import-CSV "$PSScriptRoot/../Data/popular-repositories.csv" $table = Import-CSV "$PSScriptRoot/../data/popular-repositories.csv"
$total = $table.count $total = $table.count
Write-Host "$total repos" Write-Host "$total repos"

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes the calculator application Closes the calculator application
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes the Chrome browser Closes the Chrome browser
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes Microsoft's Cortana application Closes Microsoft's Cortana application
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes the Edge browser Closes the Edge browser
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes the File Explorer Closes the File Explorer
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes the Firefox browser Closes the Firefox browser
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes the Git Extensions app Closes the Git Extensions app
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes the Magnifier Closes the Magnifier
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Closes the Microsoft Paint app Closes the Microsoft Paint app
.DESCRIPTION .DESCRIPTION

Some files were not shown because too many files have changed in this diff Show More