Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Start-DSCEAscan -MofFile doesn't accept emtpy string from ValueName (GPO) #78

@LosFla

Description

@LosFla

not able to use the attached .mof file to start DSCEA scan with the following cmlet:

PS C:\temp> Start-DSCEAscan -MofFile "C:\temp\Output\localhost.mof" -ComputerName localhost
WARNING: PowerShell DSC resource MSFT_RegistryPolicyFile failed to execute Test-TargetResource functionality with
error message: Cannot bind argument to parameter 'ValueName' because it is an empty string.

Test-TargetResource doesnt accept empty strings for 'ValueName' but my .mof file is correct.

localhost.mof.txt

can anyone help please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions