Dbatools: Installing partially

Created on 18 Apr 2019  路  4Comments  路  Source: sqlcollaborative/dbatools


name: Installing Partially/Selective


Summary of new feature

It is very efficient that there is a native way to install specific commands of dbatools. A selective installing can help devops to install a few specific command that needed to operate some operation.
Are there any plan for this facility?

Import Question

Most helpful comment

Heyyy found the answer by accident.
Import-Module -Function and specify just the functions you want. I believe we'll be doing roles later on too, after 1.0.

image

All 4 comments

Unfortunately not. There is currently no way. What is the issue, memory? Import time?

no memory neither Import time.
I only need specific commands not other, so it is nice that I could install exactly those commands not any other commands.

Thanks for the response - that is not possible with powershell as far as i know. if it's a security issue, however, check out JEA or Just Enough Administration

Heyyy found the answer by accident.
Import-Module -Function and specify just the functions you want. I believe we'll be doing roles later on too, after 1.0.

image

Was this page helpful?
0 / 5 - 0 ratings