We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc31c35 commit 1992be1Copy full SHA for 1992be1
1 file changed
SqlLibEmbeddings/start-embedding.ps1
@@ -2,8 +2,15 @@
2
Prepara para o ambiente para os embeddings do git!
3
#>
4
5
-if(!(Get-Module powershai)){
6
- install-module powershai;
+"powershai" | %{
+ $ModName = $_
7
+
8
+ if(-not(Get-Module -ListAvailable $ModName)){
9
+ write-host "Instaling $ModName module";
10
+ $m = Install-Module $ModName -force -PassThru
11
+ write-host " Installed: $($m.name) $($m.Version)"
12
+ }
13
14
}
15
16
0 commit comments