fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


microsoft:allgemeines:powershell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
microsoft:allgemeines:powershell [2025/04/10 15:20] gsysmicrosoft:allgemeines:powershell [2026/03/22 11:59] (current) gsys
Line 1: Line 1:
 ====== PowerShell Befehle ====== ====== PowerShell Befehle ======
 +===== History =====
 +
 +<code>
 +cat (Get-PSReadlineOption).HistorySavePath
 +</code>
 +
 +===== Befehle =====
  
 ^Befehl ^ Beschreibung ^ ^Befehl ^ Beschreibung ^
Line 16: Line 23:
 | Get-Childitem c:\Path\To\Folder\*.wav  | Gibt alle WAV-Files im Ordner "Folder" aus | | Get-Childitem c:\Path\To\Folder\*.wav  | Gibt alle WAV-Files im Ordner "Folder" aus |
 | Get-WindowsFeature FS-SMB1 | Status von SMBv1 prüfen | | Get-WindowsFeature FS-SMB1 | Status von SMBv1 prüfen |
 +| Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol | SMBv1 abfragen |
 | 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 "live" ausgeben | | Get-Content C:\log.txt –Wait| (Log-)File Inhalt "live" ausgeben |
 | 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.1744291229.txt.gz · Last modified: by gsys