microsoft:allgemeines:powershell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
microsoft:allgemeines:powershell [2024/07/14 19:16] – gsys | microsoft:allgemeines:powershell [2025/08/25 16:39] (current) – admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
^Befehl ^ Beschreibung ^ | ^Befehl ^ Beschreibung ^ | ||
+ | | Expand-Archive -Path File.zip -DestinationPath C:\Folder | Unzip file | | ||
| %% ipconfig /all | Select-String -Pattern ' | | %% ipconfig /all | Select-String -Pattern ' | ||
|tnc -port 443 grunwald.systems | alias für Test-NetConnection - test if port open | | |tnc -port 443 grunwald.systems | alias für Test-NetConnection - test if port open | | ||
Line 16: | Line 17: | ||
| Get-WindowsFeature FS-SMB1 | Status von SMBv1 prüfen | | | Get-WindowsFeature FS-SMB1 | Status von SMBv1 prüfen | | ||
| Enable-WindowsOptionalFeature -Online -FeatureName smb1protocol | SMBv1 aktivieren | | | Enable-WindowsOptionalFeature -Online -FeatureName smb1protocol | SMBv1 aktivieren | | ||
- | | Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol | SMBv1 dektivieren | + | | Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol | SMBv1 deaktivieren |
| Get-Content C:\log.txt –Wait| (Log-)File Inhalt " | | Get-Content C:\log.txt –Wait| (Log-)File Inhalt " | ||
| Get-Content C:\log.txt -Tail 3 | Letzte 3 Zeilen eines (Log-)Files ausgeben | | | Get-Content C:\log.txt -Tail 3 | Letzte 3 Zeilen eines (Log-)Files ausgeben | |
microsoft/allgemeines/powershell.1720977379.txt.gz · Last modified: by gsys