zurück Home

Windows: Powershell

Power-Shell-Aufruf

Allgemeines

Die Windows-Powershell hat einen viel mächtigeren Befehlsumfang als der Kommandozeilen-Editor.
Power-Shell

Aufruf

Die Windows-Powershell ist erreichbar mit Win-Taste + X oder Startbutton + rechte Maustaste (grüner Pfeil). Windows power Shell (roter Pfeil).

Get-psdrive

Listet alle Laufwerke des Systems

Get-childitem

Listet alle Elemente des aktuellen Ordners

Set-location

Laufwerk auswählen. Set-location g:

Check Disk

CHKDSK

Bloatware in Win11 entfernen

Commands for Uninstalling Built-in Apps using PowerShell:
Programm Kommando zum entfernen
3D Builder get-appxpackage *3dbuilder* | remove-appxpackage
Alarms & Clock get-appxpackage *windowsalarms* | remove-appxpackage
App Connector get-appxpackage *appinstaller* | remove-appxpackage
Calendar and Mail apps together get-appxpackage *communicationsapps* | remove-appxpackage
Calculator get-appxpackage *calculator* | remove-appxpackage
Camera get-appxpackage *camera* | remove-appxpackage
Feedback Hub get-appxpackage *feedback* | remove-appxpackage
Office get-appxpackage *officehub* | remove-appxpackage
Get Started or Tips get-appxpackage *getstarted* | remove-appxpackage
Skype get-appxpackage *skypeapp* | remove-appxpackage
Groove Music get-appxpackage *zunemusic* | remove-appxpackage
Groove Music and Movies & TV apps together get-appxpackage Microsoft.Zune* | remove-appxpackage
Maps get-appxpackage *maps* | remove-appxpackage
Messaging and Skype Video apps together get-appxpackage *messaging* | remove-appxpackage
Microsoft Solitaire Collection get-appxpackage *solitaire* | remove-appxpackage
Microsoft Wallet get-appxpackage wallet | remove-appxpackage
Microsoft Wi-Fi get-appxpackage connectivitystore | remove-appxpackage
Money get-appxpackage bingfinance | remove-appxpackage
Money, News, Sports, and Weather apps together get-appxpackage bing | remove-appxpackage
Movies & TV get-appxpackage *zunevideo* | remove-appxpackage
News get-appxpackage *bingnews* | remove-appxpackage
OneNote get-appxpackage *onenote* | remove-appxpackage
Paid Wi-Fi & Cellular get-appxpackage *oneconnect* | remove-appxpackage
Paint 3D get-appxpackage *mspaint* | remove-appxpackage
People get-appxpackage people | remove-appxpackage
Phone get-appxpackage *commsphone* | remove-appxpackage
Phone Companion get-appxpackage *windowsphone* | remove-appxpackage
Phone and Phone Companion apps together get-appxpackage *phone* | remove-appxpackage
Photos get-appxpackage *photos* | remove-appxpackage
Sports get-appxpackage *bingsports* | remove-appxpackage
Sticky Notes get-appxpackage *sticky* | remove-appxpackage
Sway get-appxpackage *sway* | remove-appxpackage
View 3D get-appxpackage *3d* | remove-appxpackage
Voice Recorder get-appxpackage *soundrecorder* | remove-appxpackage
Weather get-appxpackage *bingweather* | remove-appxpackage
Windows Holographic get-appxpackage *holographic* | remove-appxpackage
Windows Store (Be very careful!) get-appxpackage *windowsstore* | remove-appxpackage
Xbox get-appxpackage *xbox* | remove-appxpackage

Objekt erzeugen

set MyShell = Wscript.CreateObject("Wscript.Shell") Erzeugt Objekt MyShell
myshell.run "taskkill.exe /f /im explorer.exe" Stoppt Datei-Explorer
msgbox "aufgehängten Explorer neu starten"
myshell.run "explorer.exe"  Startet Datei-Explorer neu
Diese Komandos werden in einer Datei "Kommandoname.vbs" gespeichert und können unter diesem Namen gestartet werden.

Anleitung

https://aka.ms/pscore6

Impressum                                   Zuletzt geändert am 01.03.2020 22:14