<prompt> Kuandika PowerShell script kwamba compresses directory katika 7-zip faili. folda compressed lazima kuhifadhiwa katika directory sawa na folda ya awali na kuwa na jina sawa na folda ya awali, lakini na upanuzi.7z. mbinu ya compression kutumika lazima kuwa compression upeo. script lazima pato ujumbe wakati compression ni kukamilika.  <response>: Kumbuka kwamba FolderPath ni jina la faili ya FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath na FolderPath ni jina la FolderPath. 