Drop this in a .ps1 file and watch it go:
Ramblings of a tech addict powershell nerd and a place to share and compare my notes and scripts!
Removing tiered storage spaces - Windows Server 2022
Drop this in a .ps1 file and watch it go:
Finding the max size of a tiered storage space - Windows Server 2022
As part of the work I have done in my homelab with tiered storage on Server 2022 storage spaces, here is a script I created that allows you to easily find the max size of a tiered storage space
Drop this in a .ps1 file and watch it go:
Extending tiered storage spaces - Windows Server 2022
As part of the work I have done in my homelab with tiered storage on Server 2022 storage spaces, here is a script I created that allows you to easily extend a tiered storage space, so you can expand your storage pool size when you add more disks or even replace your current disks with higher capacity ones
Drop this in a .ps1 file and watch it go:
Creating tiered storage spaces - Windows Server 2022 - Getting the best performance on your home server
- https://datacenteroverlords.com/2018/12/17/microsoft-storage-spaces-is-hot-garbage-for-parity-storage/
- https://storagespaceswarstories.com/storage-spaces-and-slow-parity-performance/#more-63
- https://wasteofserver.com/storage-spaces-with-parity-very-slow-writes-solved/
- https://jackharvest.com/index.php/2022/03/10/storage-spaces-parity-on-server-2022-is-finally-good-enough-to-use/
The beauty of it is that you can create SSD (performance) tier and a HDD (Capacity) tier and set different Resiliency settings, Interleave and Column sizes to suit how many disks you have of each type.
For example in my script below i configure a volume that has 2 HDD's and 1 SSD, therefore i needed to set different Interleave and Column sizes to match my Allocation unit size of 64K on REFS.
EASYGETSID - An easy to use script to look up users or group SID's from AD
Hey Everyone,
A while back i needed a way to easily look up Group or User SID's for ad users. I needed to do this in a repetitive way where i could over and over look up individual SID's and just keep a Powershell window open on the side for when i wanted to do it, i could literally just paste in the username and hit enter and then boom, here's your SID !
I knocked up this script within about 20 mins that allows me to do it without having to remember any commands or import any Powershell modules.
It was handy for me a while back when i was working on a project so maybe it will be useful for someone else too.
Removing tiered storage spaces - Windows Server 2022
As part of the work I have done in my homelab with tiered storage on Server 2022 storage spaces , here is a script I created that allows you...
-
Ever since I rebuilt my homelab during the covid pandemic, I was never happy with the performance I was getting for the hardware that I had....
-
As part of the work I have done in my homelab with tiered storage on Server 2022 storage spaces , here is a script I created that allows yo...
-
As part of the work I have done in my homelab with tiered storage on Server 2022 storage spaces , here is a script I created that allows you...