New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

00_PersBISF_WriteCacheDisk.ps1 function CheckWriteCacheDrive fails if partition type is UEFI #67

MathiasSVA opened this Issue Sep 24, 2018 · 2 comments


3 participants
Copy link

MathiasSVA commented Sep 24, 2018

Due to different Volume count on an UEFI parition type system this check inside of the function CheckWriteCacheDrive

If ((Get-WmiObject -Class Win32_volume).count -lt 3)

does not apply due to different volume count on UEFI (already 3 partitions present).

Maybe an alternate check method should be implemented to make this failsafe?

@matthias-schlimm matthias-schlimm self-assigned this Sep 26, 2018

@matthias-schlimm matthias-schlimm added this to To do in Bugs Bunny via automation Sep 26, 2018


This comment has been minimized.

Copy link

musklor commented Sep 27, 2018

UEFI : If ((Get-WmiObject -Class Win32_volume).count -lt 4)

or for English OS : If ((Get-WmiObject -Class Win32_volume | where {$_.Label -notlike "system reserved"}).count -lt 3)


This comment has been minimized.

Copy link

musklor commented Sep 28, 2018

If ((Get-WmiObject -Class Win32_volume | where {$_.Label -notmatch "syst.m|r.serv."}).count -lt 3)
(ok for English And French OS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment