Skip to content

Emulating functionality of the Storage module in newer version of windows by means of WMI and DiskPart calls.

License

Notifications You must be signed in to change notification settings

alexsmid/StoragePre2K12

 
 

Repository files navigation

StoragePre2K12

☠👼 StoragePre2K12 is hopefully a dead project. I say that because I sincerely hope nobody is running servers running OSs older than 2012. However, I know this is the case and so thi module exists.

StoragePre2K12 is the only (as far as I'm aware) module that provides support to running "modern" storage commands on pre 2012 servers. I've used it in conjunction with StorageDSC as well as part of inplace upgrades going from pre 2012 to post 2012....🚀

🐱‍💻 StoragePre2K12 is built and tested in Azure DevOps and is distributed via the PowerShell gallery.

pester latest version downloads

Installation

Begrudgingly StoragePre2K12 is compatible with Windows PowerShell 2.x - 5.x on Windows 10, 8, 7, Vista and even 2003. Obviously it is also compatible with PowerShell Core 6.x on Windows.

Pester comes pre-installed with Windows 10, but we recommend updating, by running this PowerShell command as administrator:

Install-Module -Name StoragePre2K12 -Force

Features

WMI Class Data

Since the newer versions of Windows have nice classes which return all of the storage data as you need it, StoragePre2K12 tries to emulate that functionatlity by build custom PowerShell Objects which contain all the necessary properties and methods you would need.

Disk Part Proxy

Many of the CIM Methods used in new versions of Windows aren't available in Pre2K12 world, hence the module uses DiskPart to bother gather data as well as execute commands such as create, delete, format & mount disks, partitions and volumes.

Further reading

If you're looking to upgrade to the latest version of Windows, you'll get all the benefits of the latest Storage module.

Got questions?

Got questions or you just want to get in touch? Use our issues page or one of these channels:

Pester Twitter

About

Emulating functionality of the Storage module in newer version of windows by means of WMI and DiskPart calls.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%