Skip to content

Commit 06c712b

Browse files
authored
Remove verbose while importing modules (#21036)
1 parent 4191a09 commit 06c712b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/StackHCI/custom/stackhci.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5839,7 +5839,7 @@ function Enable-AzStackHCIRemoteSupport{
58395839
}
58405840

58415841
if(Assert-IsObservabilityStackPresent){
5842-
Import-Module DiagnosticsInitializer -Verbose -Force
5842+
Import-Module DiagnosticsInitializer -Force
58435843
Enable-RemoteSupport -AccessLevel $AccessLevel -ExpireInMinutes $ExpireInMinutes -SasCredential $SasCredential -AgreeToRemoteSupportConsent:$AgreeToRemoteSupportConsent
58445844
}
58455845
else{
@@ -5867,7 +5867,7 @@ function Disable-AzStackHCIRemoteSupport{
58675867
[OutputType([Boolean])]
58685868
param()
58695869
if(Assert-IsObservabilityStackPresent){
5870-
Import-Module DiagnosticsInitializer -Verbose -Force
5870+
Import-Module DiagnosticsInitializer -Force
58715871
Disable-RemoteSupport
58725872
}
58735873
else{
@@ -5909,7 +5909,7 @@ function Get-AzStackHCIRemoteSupportAccess{
59095909
)
59105910

59115911
if(Assert-IsObservabilityStackPresent){
5912-
Import-Module DiagnosticsInitializer -Verbose -Force
5912+
Import-Module DiagnosticsInitializer -Force
59135913
Get-RemoteSupportAccess -IncludeExpired:$IncludeExpired
59145914
}
59155915
else{
@@ -5999,7 +5999,7 @@ function Get-AzStackHCIRemoteSupportSessionHistory{
59995999
)
60006000

60016001
if(Assert-IsObservabilityStackPresent){
6002-
Import-Module DiagnosticsInitializer -Verbose -Force
6002+
Import-Module DiagnosticsInitializer -Force
60036003
Get-RemoteSupportSessionHistory -SessionId $SessionId -FromDate $FromDate -IncludeSessionTranscript:$IncludeSessionTranscript
60046004
}
60056005
else{

0 commit comments

Comments
 (0)