Skip to content

Commit 85f0338

Browse files
Update 7
#Changed 23H2 node commands to work properly
1 parent 334872d commit 85f0338

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

PrivateCloud.DiagnosticInfo/PrivateCloud.DiagnosticInfo.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
RootModule = 'PrivateCloud.DiagnosticInfo.psm1'
1111

1212
# Version number of this module.
13-
ModuleVersion = '1.3355.7.6'
13+
ModuleVersion = '1.3355.7.7'
1414

1515
# ID used to uniquely identify this module
1616
GUID = '7e0bc824-c371-4936-98e6-b7216ba5f348'

PrivateCloud.DiagnosticInfo/PrivateCloud.DiagnosticInfo.psm1

+1-3
Original file line numberDiff line numberDiff line change
@@ -2377,11 +2377,9 @@ $CmdsToLog += "Get-AzureStackHCI"
23772377
$CmdsToLog += "Get-AzureStackHCIArcIntegration"
23782378
}
23792379
#Added tun run commands that only exist on 23H2 and APEX nodes
2380-
IF(gcm Get-StampInformation -ErrorAction SilentlyContinue){
2381-
Invoke-Command -ComputerName _C_ {
2380+
IF(Invoke-Command -ComputerName $using:NodeName {gcm Get-StampInformation -ErrorAction SilentlyContinue}){
23822381
$CmdsToLog += 'Invoke-Command -ComputerName _C_ {Get-StampInformation}',
23832382
'Invoke-Command -ComputerName _C_ {Get-SolutionUpdate}'
2384-
}
23852383
}
23862384

23872385
$nodejobs=@()

0 commit comments

Comments
 (0)