Skip to content

Update Hudu-LAPSAlternative-Documentation.ps1#30

Open
voyagertech wants to merge 1 commit into
lwhitelock:mainfrom
voyagertech:patch-1
Open

Update Hudu-LAPSAlternative-Documentation.ps1#30
voyagertech wants to merge 1 commit into
lwhitelock:mainfrom
voyagertech:patch-1

Conversation

@voyagertech

Copy link
Copy Markdown

I could not get this to work without NuGet. Added the following lines to make it work.

if (Get-PackageProvider -ListAvailable -Name NuGet) {
Import-PackageProvider NuGet
} else {
Install-PackageProvider -Name NuGet -Force
Import-PackageProvider NuGet
}

I could not get this to work without NuGet. Added the following lines to make it work.

if (Get-PackageProvider -ListAvailable -Name NuGet) {
    Import-PackageProvider NuGet 
} else {
    Install-PackageProvider -Name NuGet -Force
    Import-PackageProvider NuGet
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant