Hi
can I use psappdeploy script to copy an empty folder from a network share to local C:\program files (x86)
I've tried sooo many ways and it never seems to bring permissions over..
I'm really hoping for some help!
I tried this for instance:
can I use psappdeploy script to copy an empty folder from a network share to local C:\program files (x86)
I've tried sooo many ways and it never seems to bring permissions over..
I'm really hoping for some help!
I tried this for instance:
$path="\\server\programmer\sw\Inst\Filer"
copy-item -path "$path\PDF" -destination "C:\Program Files (x86)\SonWin\SonWin Billing\" -force
copy-item -path "$path\temp" -destination "C:\Program Files (x86)\SonWin\SonWin Billing\" -force
(Get-Item "\\server\programmer\sw\Inst\Filer som skal kopieres ved install\PDF").GetAccessControl() | Set-Acl -Path "C:\Program Files (x86)\SonWin\SonWin Billing\PDF"
(Get-Item "\\server\programmer\sw\Inst\Filer som skal kopieres ved install\temp").GetAccessControl() | Set-Acl -Path "C:\Program Files (x86)\SonWin\SonWin Billing\temp"