Skip to content

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

Open
Pascal-Smit-OGD wants to merge 5 commits into
EUCweb:developfrom
Pascal-Smit-OGD:develop
Open

Fixes "Method invocation failed because [Microsoft.Management.Infrast…#366
Pascal-Smit-OGD wants to merge 5 commits into
EUCweb:developfrom
Pascal-Smit-OGD:develop

Conversation

@Pascal-Smit-OGD

Copy link
Copy Markdown

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
Copy Markdown
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