1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-06-04 09:25:42 +02:00

Repaired UTF-8 BOM encoding

This commit is contained in:
Markus Fleschutz 2024-10-01 15:11:03 +02:00
parent b2413adad6
commit 49072fdbaa
452 changed files with 458 additions and 457 deletions
scripts
add-firewall-rules.ps1alert.ps1build-repo.ps1build-repos.ps1cd-autostart.ps1cd-crashdumps.ps1cd-desktop.ps1cd-docs.ps1cd-downloads.ps1cd-dropbox.ps1cd-etc.ps1cd-fonts.ps1cd-home.ps1cd-jenkins.ps1cd-logs.ps1cd-music.ps1cd-onedrive.ps1cd-pics.ps1cd-public.ps1cd-recent.ps1cd-recycle-bin.ps1cd-repo.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-admin.ps1check-apps.ps1check-bios.ps1check-cpu.ps1check-credentials.ps1check-day.ps1check-dns.ps1check-drive-space.ps1check-drives.ps1check-dusk.ps1check-easter-sunday.ps1check-file-system.ps1check-file.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-noon.ps1check-os.ps1check-outlook.ps1check-password.ps1check-pending-reboot.ps1check-pnp-devices.ps1check-power.ps1check-powershell.ps1check-ps1-file.ps1check-ram.ps1check-repo.ps1check-repos.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.ps1check-xml-files.ps1clean-repo.ps1clean-repos.ps1clear-dns-cache.ps1clear-recycle-bin.ps1clone-repos.ps1clone-shallow.ps1close-calculator.ps1close-chrome.ps1close-cortana.ps1

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Changes to the Jenkins home directory
.DESCRIPTION

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Check for admin rights
.DESCRIPTION

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

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

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

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

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

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Check the DNS resolution
.DESCRIPTION

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Checks the network details
.DESCRIPTION
@ -17,10 +17,10 @@
Write-Host "`n N E T W O R K" -foregroundColor green
& "$PSScriptRoot/list-ip-addresses.ps1"
& "$PSScriptRoot/ping-local-hosts.ps1"
& "$PSScriptRoot/list-ssh-key.ps1"
& "$PSScriptRoot/ping-remote-hosts.ps1"
& "$PSScriptRoot/check-firewall"
& "$PSScriptRoot/check-dns.ps1"
& "$PSScriptRoot/check-vpn.ps1"
& "$PSScriptRoot/ping-local-hosts.ps1"
exit 0 # success

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

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

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

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

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

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Checks PnP devices
.DESCRIPTION

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Verifies an XML file
.DESCRIPTION

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Checks all XML files in a directory tree
.DESCRIPTION

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

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

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

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

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Clones Git repos
.DESCRIPTION

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Clones a shallow Git repo
.DESCRIPTION

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

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

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

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