I’m trying to do an offline install of DBATools to a 2012 server. The server is on PS V4.0. I’ve been able to install it on SQL 2016 servers. I downloaded the most recent version of DBATools to my desktop and then copied it to the Powershell modules folder. Any tips?
Asked
Active
Viewed 138 times
0
-
I doubt it supports version 4? Have you confirmed? Maybe an older version would be more ideal? – Doug Maurer Oct 20 '21 at 17:58
1 Answers
0
It looks like you can use PS 4 if the DBATools folder is in the right format. But it appears that DBATools needs .net 4.6 and Windows 2012 uses 4.5 so upgrading Powershell is probably the best way to fix it.

Elizabeth Block
- 1
- 1