Ne Menge hinzugefügt.
This commit is contained in:
12
aliases.ps1
12
aliases.ps1
@@ -7,16 +7,14 @@ function edit {
|
||||
function space {
|
||||
Get-CimInstance -ClassName Win32_LogicalDisk | Select-Object -Property DeviceID,@{'Name' = 'FreeSpace (GB)'; Expression= { [int]($_.FreeSpace / 1GB) }}
|
||||
}
|
||||
# Powershell als Admin neu starten
|
||||
function elevate {
|
||||
Start-Process powershell -Verb runAs -ArgumentList $arguments
|
||||
|
||||
}
|
||||
# Speichert das Youtube Video als mp3 im aktuellen Ordner
|
||||
function ymp3 {
|
||||
yt-dlp --extract-audio --audio-format mp3 --format "bestaudio"
|
||||
yt-dlp --extract-audio --audio-format mp3 --format "bestaudio" -ffmpeg-location "C:\Program Files\ffmpeg\ffmpeg.exe"
|
||||
}
|
||||
# Update
|
||||
function update {
|
||||
Start-Process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Verb RunAs -ArgumentList "-command allupdates | Out-Host" -Wait -WindowStyle Normal
|
||||
}
|
||||
|
||||
# Startet das install Script
|
||||
Set-Alias -name install -value "~\.winconfig\install.ps1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user