We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e43a311 commit 47b8f48Copy full SHA for 47b8f48
PrivateCloud.DiagnosticInfo/PrivateCloud.DiagnosticInfo.psm1
@@ -2377,9 +2377,11 @@ $CmdsToLog += "Get-AzureStackHCI"
2377
$CmdsToLog += "Get-AzureStackHCIArcIntegration"
2378
}
2379
#Added tun run commands that only exist on 23H2 and APEX nodes
2380
-IF(Invoke-Command -ComputerName _C_ {IF(gcm Get-StampInformation -ErrorAction SilentlyContinue)}){
2381
- $CmdsToLog += 'Invoke-Command -ComputerName _C_ {Get-StampInformation}',
2382
- 'Invoke-Command -ComputerName _C_ {Get-SolutionUpdate}'
+IF(gcm Get-StampInformation -ErrorAction SilentlyContinue){
+ Invoke-Command -ComputerName _C_ {
+ $CmdsToLog += 'Invoke-Command -ComputerName _C_ {Get-StampInformation}',
2383
+ 'Invoke-Command -ComputerName _C_ {Get-SolutionUpdate}'
2384
+ }
2385
2386
2387
$nodejobs=@()
0 commit comments