mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-05 07:00:04 +02:00
Replace tabs by spaces in meta header
This commit is contained in:
Scripts
MD5.ps1SHA1.ps1SHA256.ps1add-firewall-rules.ps1alert.ps1check-cpu-temp.ps1check-dns-resolution.ps1check-drive-space.ps1check-health.ps1check-ipv4-address.ps1check-ipv6-address.ps1check-mac-address.ps1check-swap-space.ps1check-symlinks.ps1check-windows-system-files.ps1check-xml-file.ps1clean-branch.ps1clone-repos.ps1close-calculator.ps1close-chrome.ps1close-cortana.ps1close-edge.ps1close-file-explorer.ps1close-program.ps1close-system-settings.ps1close-thunderbird.ps1close-vlc.ps1close-windows-terminal.ps1configure-git.ps1create-shortcut.ps1create-symlink.ps1csv-to-text.ps1decrypt-file.ps1display-time.ps1enable-crash-dumps.ps1encrypt-file.ps1fetch-repo.ps1fetch-repos.ps1generate-qrcode.ps1go-downloads.ps1go-home.ps1go-music.ps1go-root.ps1go-scripts.ps1hibernate.ps1inspect-exe.ps1list-aliases.ps1list-anagrams.ps1list-automatic-variables.ps1list-branches.ps1list-clipboard.ps1list-cmdlets.ps1list-commits.ps1list-current-timezone.ps1list-drives.ps1list-earthquakes.ps1list-empty-dirs.ps1list-empty-files.ps1list-environment-variables.ps1list-files.ps1list-formatted.ps1list-fritzbox-calls.ps1list-fritzbox-devices.ps1list-hidden-files.ps1list-installed-apps.ps1list-installed-software.ps1list-logbook.ps1list-modules.ps1list-network-shares.ps1list-news.ps1list-os-releases.ps1list-printers.ps1list-processes.ps1list-profiles.ps1list-random-passwords.ps1list-random-pins.ps1list-scripts.ps1list-tags.ps1list-timezones.ps1list-unused-files.ps1list-user-groups.ps1locate-city.ps1locate-ipaddress.ps1locate-zip-code.ps1make-install.ps1moon.ps1mute-audio.ps1new-email.ps1next-joke.ps1open-browser.ps1open-calculator.ps1open-email-client.ps1play-beep.ps1play-m3u.ps1play-mission-impossible.ps1play-mp3.ps1play-super-mario.ps1play-the-imperial-march.ps1poweroff.ps1pull-repo.ps1pull-repos.ps1query-smart-data.ps1reboot-fritzbox.ps1reboot.ps1remove-empty-dirs.ps1scan-ports.ps1search-files.ps1send-email.ps1send-tcp.ps1send-udp.ps1set-profile.ps1set-timer.ps1set-wallpaper.ps1show-dir-tree.ps1simulate-matrix.ps1simulate-presence.ps1smart-data2csv.ps1speak-date.ps1speak-english.ps1speak-epub.ps1speak-file.ps1speak-german.ps1speak-joke.ps1speak-test.ps1speak-text.ps1speak-time.ps1switch-branch.ps1switch-shelly1.ps1take-screenshot.ps1take-screenshots.ps1translate-text.ps1turn-volume-down.ps1turn-volume-up.ps1txt2wav.ps1unmute-audio.ps1voice-control.ps1wakeup.ps1weather-alert.ps1weather-report.ps1weather-worldwide.ps1weather.ps1write-animated.ps1write-big.ps1write-blue.ps1write-braille.ps1write-green.ps1write-logbook.ps1write-marquee.ps1write-morse-code.ps1write-motd.ps1write-red.ps1write-rot13.ps1write-typewriter.ps1write-uppercase.ps1write-vertical.ps1zip-dir.ps1
@ -6,7 +6,7 @@
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
param([string]$Path = "", [string]$Password = "")
|
||||
param($Path = "", $Password = "")
|
||||
|
||||
function EncryptFile {
|
||||
<#
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/powershell
|
||||
<#
|
||||
.SYNTAX ./list-current-timezone.ps1
|
||||
.DESCRIPTION lists the current time zone details
|
||||
.DESCRIPTION lists the details of the current time zone
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/powershell
|
||||
<#
|
||||
.SYNTAX ./list-drives.ps1
|
||||
.DESCRIPTION lists all drives
|
||||
.DESCRIPTION lists all drives connected to the computer
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
Start-Process "mailto:markus@fleschutz.de"
|
||||
start-process "mailto:markus@fleschutz.de"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#Requires -RunAsAdministrator
|
||||
|
||||
try {
|
||||
Stop-Computer
|
||||
stop-computer
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#Requires -RunAsAdministrator
|
||||
|
||||
try {
|
||||
Restart-Computer
|
||||
restart-computer
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
@ -12,7 +12,7 @@ try {
|
||||
|
||||
copy-item "$PathToRepo/Scripts/my-profile.ps1" "$PathToProfile" -force
|
||||
|
||||
write-host -foregroundColor green "OK - updated profile 'CurrentUserCurrentHost', gets active on next login"
|
||||
write-host -foregroundColor green "OK - updated profile 'CurrentUserCurrentHost' (gets active on next login)"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user