xDSCResourceDesigner icon indicating copy to clipboard operation
xDSCResourceDesigner copied to clipboard

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

Open nanalakshmanan opened this issue 10 years ago • 0 comments

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

nanalakshmanan avatar Feb 16 '16 23:02 nanalakshmanan