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 [2025/04/10 15:20] – gsys | microsoft:allgemeines:powershell [2025/11/19 17:30] (current) – gsys | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| | Get-Childitem c: | | Get-Childitem c: | ||
| | 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 " | | 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.1744291229.txt.gz · Last modified: by gsys