Commit 672bbe8
Get-DbaCmObject - Apply CimOperationTimeout config to all CIM connections
Ensures CimWinRMOptions and CimDCOMOptions are initialized with the
ComputerManagement.CimOperationTimeout config value (default: 60s) whenever
Get-DbaCmObject retrieves a connection, not only when New-DbaCmConnection or
Set-DbaCmConnection are explicitly called. This prevents indefinite hangs when
querying servers with hung or corrupted WMI.
Fixes #6498
Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>1 parent 63c906f commit 672bbe8
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
258 | 266 | | |
259 | 267 | | |
260 | 268 | | |
| |||
0 commit comments