Replies: 1 comment
-
please find all occurrences, delete them then reinstall. unfortunately, this sometimes happens and that's the workaround. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
PS C:\WINDOWS\system32> Get-Module -Name dbatools -ListAvailable
ModuleType Version Name ExportedCommands
Script 2.1.24 dbatools {Select-DbaObject, Set-DbatoolsConfig, Test-DbaAgSpn, Install-DbaAgentAdminAlert...}
Script 2.1.14 dbatools {Select-DbaObject, Set-DbatoolsConfig, Test-DbaAgSpn, Install-DbaAgentAdminAlert...}
PS C:\WINDOWS\system32> update-module dbatools
update-module : Module 'dbatools' was not installed by using Install-Module, so it cannot be updated.
At line:1 char:1
PS C:\WINDOWS\system32> get-PSrepository
Name InstallationPolicy SourceLocation
PSGallery Trusted https://www.powershellgallery.com/api/v2
Beta Was this translation helpful? Give feedback.
All reactions