Enable logging before doing anything
This commit is contained in:
parent
c98f3c2372
commit
d8a3e3d2c1
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,7 @@
|
|||
#!/bin/pwsh
|
||||
$Global:InformationPreference = "Continue";
|
||||
$Global:ErrorActionPreference = "Inquire";
|
||||
|
||||
$null = powershell -c Get-PackageProvider -ListAvailable NuGet;
|
||||
|
||||
if (-not $?) {
|
||||
|
@ -21,6 +24,3 @@ foreach ($nativeModule in @("PinnedItem")) {
|
|||
powershell -c Install-Module -Force "$nativeModule";
|
||||
}
|
||||
}
|
||||
|
||||
$Global:InformationPreference = "Continue";
|
||||
$Global:ErrorActionPreference = "Inquire";
|
||||
|
|
Loading…
Reference in a new issue