if (
-not (
Test-Path `
-Path $pathAbsoluteArchiveFile `
-PathType Leaf
)
) {
Set-Content -Path $pathAbsoluteArchiveFile (
"PK" + [char]5 + [char]6 + ("$([char]0)" * 18))
}
Probably of no use if one knows about http://thiemos-powershell.blogspot.ch/2016/05/zip-files-and-directories.html
AntwortenLöschen