Giter Club home page Giter Club logo

invokedsc's People

Contributors

duffney avatar mistertk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

invokedsc's Issues

Install-ModuleFromConfiguration doesn't download multiple versions

if (!(Get-Module -FullyQualifiedName @{ModuleName=$module.Name;moduleversion=$module.Value} -ListAvailable)) Using ModuleVersion in the module specification will return all existing modules. This results in the if statement returning true and the logic skipping the download of more than one module version.

To fix update to RequiredVersion

Get-Module -FullyQualifiedName @{ModuleName=$module.Name;FullyQualifiedName =$module.Value} -ListAvailable

add -Force

add a -force param that invokes set and skips set method for invoke-dsc and invoke-dscconfiguraiton

dynamic array to string detection

allow arrays in json for resources that require a property of string detect string property and convert array to flat string with | out-file

Invoke-DscConfiguration cannot handle multiple module versions in repositories

foreach ($module in $modules) 
        {
            Write-Verbose -Message "Verifying [$module] exists"
            
            if (!(Get-Module -name $module -ListAvailable))
            {
                Write-Verbose -Message "[$module]  not found"
                Write-Verbose -Message "Installing [$module]"
                Install-Module -Name $module -Repository $Repository -Confirm:$false                
            }
            else
            {
                Write-Verbose -Message "Module [$module] already exists"
            }


        }

InputObject Invoke-DscConfigurationByRoles

This is great, exactly what I've been looking for.

My goal is to avoid files on the local systems all together. I forked this just to add InputObject param to Get-ModuleFromConfiguration and Invoke-DscConfiguration, it's working well. Simple thing to add, but I can open pull request if you want.

I haven't thought through how Invoke-DscConfigurationByRoles could be modified to support recursing through several objects in a url and processing them.

AuthenticationInfo not an array

          "AuthenticationInfo":[
                {
                    "CimType":"MSFT_xWebApplicationAuthenticationInformation",
                    "Properties":{
                        "Anonymous":true,
                        "Basic":true
                    }
                }
           ]

AuthenticationInfo isn't an array of Cims but contains a CimType add logic in ConvertTo-DSC that tests if the object contains CimType and create single cim instance.

Test Only?

Could a switch be added test the local system only? So it would just run the test method and return the result. I would then want to capture that result and do something with it for reporting purposes.

It's a check to determine the current state vs. the desired state.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.