Skip to content

Commit

Permalink
New year + New Win stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
syselement committed Jan 1, 2025
1 parent 3c5a8c8 commit 3ed15d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Welcome to my notes blog! This blog is intended to provide information and insig
>
> *The content on this notes blog is intended for educational, personal, non-commercial, testing and research purposes only. It should not be used for illegal or malicious activities. The information is based on open-source material, my own interpretation and writing, and may not be up-to-date. Use it at your own risk. By using these notes, you agree to absolve me of any liability. All notes and comments from external resources will include a reference link to the original source.*
>
> ✏️ **Copyright** ©️ 2024 syselement
> ✏️ **Copyright** ©️ 2025 syselement
>
> *The content on this blog is based on public material and is not subject to copyright protection. However, my original commentary and analysis are protected. Feel free to share links to the content on social media or other websites, and distribute the content by always mentioning me and the link of the utilized resource from this blog.*
Expand Down
16 changes: 14 additions & 2 deletions operating-systems/windows/winstuff.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
>
> ### Debloat Windows 11
>
> - [BloatyNosy - by Builtbybel](https://github.com/builtbybel/BloatyNosy/)
> - [BloatyNosy - Builtbybel](https://github.com/builtbybel/BloatyNosy/)
> - [Windows11-Debloat-Privacy-Guide](https://github.com/TheWorldOfPC/Windows11-Debloat-Privacy-Guide)
> - [Win11Debloat - Raphire](https://github.com/Raphire/Win11Debloat)
---

Expand Down Expand Up @@ -293,6 +294,18 @@ powercat -l -p 9000 -v
powercat -h
```

### Directory and File Listing Without Extensions

```bash
Get-ChildItem -Recurse -Directory | ForEach-Object {
Write-Output "Directory: $($_.FullName)"
Get-ChildItem -Path $_.FullName | Where-Object { -not $_.PSIsContainer } | ForEach-Object {
$_.BaseName
}
Write-Output ""
} | Out-File -FilePath "C:\path\to\output.txt"
```
### Powershell Cheatsheet
```powershell
Expand Down Expand Up @@ -504,4 +517,3 @@ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\Hyperv
---

0 comments on commit 3ed15d1

Please sign in to comment.