Skip to content

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