Skip to content

New-xDscResource should output the files along with the folder as well #45

@nanalakshmanan

Description

@nanalakshmanan

Currently the output of New-xDscResource shows only the directories it creates, but not the files. It should show files created as well so user knows what all is created

The share to create

$ShareName = New-xDscResourceProperty -Name ShareName -Type String -Attribute Key

Create the actual resource

New-xDscResource -Name Temp -Property $ShareName -FriendlyName Temp
 
Directory: C:\Program Files\WindowsPowerShell\Modules
 
Mode LastWriteTime Length Name


d---- 7/8/2014 10:39 AM DSCResources
 
Directory: C:\Program Files\WindowsPowerShell\Modules\DSCResources
 
Mode LastWriteTime Length Name


d---- 7/8/2014 10:39 AM Temp

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThe issue is an enhancement request.help wantedThe issue is up for grabs for anyone in the community.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions