Creating an archive from an empty directory results in the error message Compress-7Zip : Invalid file names have been specified: Message: the specified directory is empty! and a zero byte (invalid) 7z file. Empty directories should not be a special case.