Skip to content

Commit 6d118a2

Browse files
committed
✨feat: add script to install multiple PowerShell modules at once
1 parent d3fc70c commit 6d118a2

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
$PSRepository = 'PSGallery'
2+
3+
$RequiredResource = @{
4+
5+
'platyPS' = @{
6+
Repository = $PSRepository
7+
}
8+
'Pester' = @{
9+
Repository = $PSRepository
10+
}
11+
'Microsoft.Graph.Users' = @{
12+
Repository = $PSRepository
13+
}
14+
'Microsoft.Graph.Authentication' = @{
15+
Repository = $PSRepository
16+
Version = '2.25.0'
17+
}
18+
'Az.Accounts' = @{
19+
Repository = 'MAR'
20+
}
21+
22+
}
23+
24+
Install-PSResource -RequiredResource $RequiredResource

0 commit comments

Comments
 (0)