What is the different between Compact/Expand.exe command-line utility and Compress/Expand-Archive cmdlet?

Muhammad Azim Azlan 0 Reputation points
2023-04-20T04:50:04.15+00:00

I would like to know further the difference between both command-line utility and cmlets.

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2023-04-20T14:29:53.3466667+00:00

    Hello, There is no difference in terms of functionality. The main different is that Compact or Expand-Archive cmdlets can be used directly as part of a PowerShell script in order to automate processes based on script variables as well benefit from other Powershell features, like for example output to a XLSX file the results, run programatically on a folder structure, etc... References: https:// learn. microsoft. com/en-us/powershell/module/microsoft.powershell.archive/expand-archive?view=powershell-7.3 https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/expand --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.