Skip to content
This repository was archived by the owner on May 15, 2018. It is now read-only.
This repository was archived by the owner on May 15, 2018. It is now read-only.

How to get Credentials into a Configuration #115

@tysonjhayes

Description

@tysonjhayes

I've been toying with this for a bit but I'm kind of confused on how I'm supposed to get credentials into my configuration using these tools.

My gut instinct is telling me to use Resolve-DscConfigurationProperty but I'm unclear on how to have the node referencing the credentials.

Something like
$script:ConfigurationData['Credentials']['Account'] strikes me as something that would work but again, not really sure.

Also is there a way to pass in passwords separately or do I have to pass in a credential object because MSFT_Credential is being used in the mof file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions