Skip to content
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

Fixes "Method invocation failed because [Microsoft.Management.Infrast… #366

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

Pascal-Smit-OGD
Copy link

Fixes "Method invocation failed because [Microsoft.Management.Infrastructure.CimInstance] does not contain a method named 'put'" error by using standard powershell cmdlets 'Get-Volume' and 'Set-Volume'

This PR fixes/implements the following bugs/features

  • [*] 365

Fixes #365

…ructure.CimInstance] does not contain a method named 'put'" error by using standard powershell cmdlets 'Get-Volume' and 'Set-Volume'
- throw when disk was not found
- Return with empty values

The function is called with no-throw from 80_prepbisf_writecachedisk as this caused BIS-F to fail with PDQ
@Pascal-Smit-OGD
Copy link
Author

Also Fixes #367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue]: Script crashes running Test-DrvLabel
1 participant