Skip to content

Install-Module dbatools not working #7450

Answered by luisflavio
faizqur asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @faizqur
I had the same issue and I solved running these steps below

Open Powershell (as Admin)

Run the command
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Run the command
Install-PackageProvider -Name NuGet

Run the command
Install-Module -Name DBATools -force

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@faizqur
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@potatoqualitee
Comment options

Answer selected by potatoqualitee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants