Closed rkyttle closed 7 years ago
Fixes #28
In reference to 56d67c25fd8d77ffaa1923b6afe501d95ffd8258 I think we should use the following code
$env:PSModulePath -split ';' | ForEach-Object {
if(Test-Path (Join-Path -Path $_ -ChildPath 'DSCEA')) {
if (!(Test-Path -Path 'C:\ProgramData\DSCEA')) {
New-Item 'C:\ProgramData\DSCEA' -Type Directory
}
Copy-Item -Path (Get-ChildItem -Path $_ -Recurse -Filter 'logo.png').FullName -Destination 'C:\ProgramData\DSCEA\logo.png' -Force
}
}
@rkyttle, Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA. Thanks, Microsoft Pull Request Bot