Skip to content

Commit 47b8f48

Browse files
Update PrivateCloud.DiagnosticInfo.psm1
Resolved missing closing ) in #Added tun run commands that only exist on 23H2 and APEX nodes
1 parent e43a311 commit 47b8f48

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

PrivateCloud.DiagnosticInfo/PrivateCloud.DiagnosticInfo.psm1

+5-3
Original file line numberDiff line numberDiff line change
@@ -2377,9 +2377,11 @@ $CmdsToLog += "Get-AzureStackHCI"
23772377
$CmdsToLog += "Get-AzureStackHCIArcIntegration"
23782378
}
23792379
#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}'
2380+
IF(gcm Get-StampInformation -ErrorAction SilentlyContinue){
2381+
Invoke-Command -ComputerName _C_ {
2382+
$CmdsToLog += 'Invoke-Command -ComputerName _C_ {Get-StampInformation}',
2383+
'Invoke-Command -ComputerName _C_ {Get-SolutionUpdate}'
2384+
}
23832385
}
23842386

23852387
$nodejobs=@()

0 commit comments

Comments
 (0)