1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-04-22 01:48:20 +02:00

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
README.md
Scripts
add-firewall-rules.ps1add-memo.ps1alert.ps1build-repo.ps1build-repos.ps1cd-autostart.ps1cd-crashdumps.ps1cd-desktop.ps1cd-docs.ps1cd-downloads.ps1cd-dropbox.ps1cd-etc.ps1cd-fonts.ps1cd-home.ps1cd-logs.ps1cd-music.ps1cd-onedrive.ps1cd-pics.ps1cd-public.ps1cd-recycle-bin.ps1cd-repos.ps1cd-root.ps1cd-screenshots.ps1cd-scripts.ps1cd-ssh.ps1cd-temp.ps1cd-templates.ps1cd-trash.ps1cd-up.ps1cd-up2.ps1cd-up3.ps1cd-up4.ps1cd-users.ps1cd-videos.ps1cd-windows.ps1change-wallpaper.ps1check-apps.ps1check-bios.ps1check-cpu.ps1check-day.ps1check-dns.ps1check-drive-space.ps1check-drives.ps1check-dusk.ps1check-easter-sunday.ps1check-file-system.ps1check-firewall.ps1check-gpu.ps1check-hardware.ps1check-health.ps1check-independence-day.ps1check-ipv4-address.ps1check-ipv6-address.ps1check-iss-position.ps1check-mac-address.ps1check-midnight.ps1check-month.ps1check-moon-phase.ps1check-network.ps1check-new-year.ps1check-noon.ps1check-os.ps1check-outlook.ps1check-password.ps1check-pending-reboot.ps1check-ping.ps1check-power.ps1check-powershell.ps1check-ps1-file.ps1check-ram.ps1check-repo.ps1check-santa.ps1check-smart-devices.ps1check-software.ps1check-subnet-mask.ps1check-swap-space.ps1check-symlinks.ps1check-time-zone.ps1check-uptime.ps1check-vpn.ps1check-weather.ps1check-week.ps1check-wind.ps1check-windows-system-files.ps1check-xml-file.ps1clean-repo.ps1clean-repos.ps1clear-dns-cache.ps1clear-recycle-bin.ps1clone-repos.ps1close-calculator.ps1close-chrome.ps1close-cortana.ps1close-edge.ps1close-file-explorer.ps1close-firefox.ps1close-git-extensions.ps1close-magnifier.ps1close-microsoft-paint.ps1

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.**
**[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
-----------------------------

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Clones Git repos
.DESCRIPTION
@ -25,7 +25,7 @@ try {
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
$table = Import-CSV "$PSScriptRoot/../Data/popular-repositories.csv"
$table = Import-CSV "$PSScriptRoot/../data/popular-repositories.csv"
$total = $table.count
Write-Host "$total repos"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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