Comments (7)
The directory structure between the older version and the latest release of dbatool.library is totally different. The older version I only see a folder named 2023.5.5 under the main folder, while the new version has several folders and files listed
from dbatools.library.
Hi @dennisa72295 - when you download and unzip make sure you match the directory structure in My Documents\WindowsPowershell\Modules
I would expect
- folder for the module - e.g.
...My Documents\WindowsPowershell\Modules\dbatools.library
- folder for the version - e.g.
...My Documents\WindowsPowershell\Modules\dbatools.library\2023.9.21
- module files in that folder - e.g.
...My Documents\WindowsPowershell\Modules\dbatools.library\2023.9.21\dbatools.library.psd1
also when you download from the internet sometimes the files are blocked - you can unblock them all like this:
Get-ChildItem -Path '...My Documents\WindowsPowershell\Modules\dbatools.library\2023.9.21' -Recurse | Unblock-File
Which is the equivalent of checking this checkbox
from dbatools.library.
The downloadable zip file for the dbatools.library doesn't have the same directory structure. Meaning that in the previous version when I unzipped it there was a 2023.9.21 folder, however, in the latest version there is no such folder (2024.3.9) in the zip file. The only way I could get a correct module installed was to go to a personal off network PC and install from the internet then copy the installed directories to USB and sneakernet them over to my on network PC. This makes any future upgrades a lot harder to do.
from dbatools.library.
Where do you download the zip from? PowerShell Gallery?
from dbatools.library.
https://github.com/dataplat/dbatools.library
from dbatools.library.
Gotcha - so I would suggest writing a PowerShell script to create the folder structure you need.. I'm not sure about how that zip gets generated - I don't believe it's something we can control I'm afraid.
from dbatools.library.
It should be easy enough to take and installed version and upload it to the GitHub repo for download. What is there seems to be source code that isn't compiled yet.
from dbatools.library.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbatools.library.