File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ $moduleList = @(
19
19
" MicrosoftPowerBIMgmt" ,
20
20
" Az" ,
21
21
" GuestConfiguration" ,
22
- " Microsoft.PowerShell.UnixCompleters"
22
+ " Microsoft.PowerShell.UnixCompleters" ,
23
+ " Microsoft.PowerShell.SecretManagement" ,
24
+ " Microsoft.PowerShell.SecretStore"
23
25
)
24
26
25
27
# set SkipAzInstallationChecks to avoid az check for AzInstallationChecks.json
Original file line number Diff line number Diff line change @@ -140,6 +140,8 @@ try {
140
140
PowerShellGet\Install-Module - AllowPreRelease - Force PSReadLine - Repository PSGallery # get psreadline beta
141
141
PowerShellGet\Install-Module - Name Az.Tools.Predictor - Repository PSGallery
142
142
PowerShellGet\Install-Module - Name ExchangeOnlineManagement - RequiredVersion 2.0 .5 - Force
143
+ PowerShellGet\Install-Module - Name Microsoft.PowerShell.SecretManagement @prodAllUsers
144
+ PowerShellGet\Install-Module - Name Microsoft.PowerShell.SecretStore @prodAllUsers
143
145
144
146
# With older base image builds, teams 1.1.6 is already installed
145
147
if (Get-Module MicrosoftTeams - ListAvailable) {
Original file line number Diff line number Diff line change @@ -214,6 +214,20 @@ Describe "PowerShell Modules" {
214
214
$module | Should -Not - BeNullOrEmpty
215
215
216
216
}
217
+
218
+ It " Microsoft.PowerShell.SecretManagement PowerShell Module" {
219
+
220
+ $module = Get-Module - Name ' Microsoft.PowerShell.SecretManagement' - ListAvailable
221
+ $module | Should -Not - BeNullOrEmpty
222
+
223
+ }
224
+
225
+ It " Microsoft.PowerShell.SecretStore PowerShell Module" {
226
+
227
+ $module = Get-Module - Name ' Microsoft.PowerShell.SecretStore' - ListAvailable
228
+ $module | Should -Not - BeNullOrEmpty
229
+
230
+ }
217
231
218
232
$importModuleTestCases = @ (
219
233
@ { ModuleName = " Microsoft.PowerShell.Management" }
@@ -226,6 +240,8 @@ Describe "PowerShell Modules" {
226
240
@ { ModuleName = " EXOPSSessionConnector" }
227
241
@ { ModuleName = " MicrosoftTeams" }
228
242
@ { ModuleName = " Microsoft.PowerShell.UnixCompleters" }
243
+ @ { ModuleName = " Microsoft.PowerShell.SecretManagement" }
244
+ @ { ModuleName = " Microsoft.PowerShell.SecretStore" }
229
245
)
230
246
231
247
It " Import-Module test for <ModuleName>" - TestCases $importModuleTestCases {
You can’t perform that action at this time.
0 commit comments