I'm automating a process for which I'm executing powershell
commands from node.js
using the node-cmd
package. to get few file I/O operations done. However I'm unable to suppress the output for which I've referred other SO posts and found nothing relevant to my issue.
EDIT: Here is the powershell
command which I'm using to generate the zip file.
powershell Compress-Archive -Force -Path WebContent\* -DestinationPath portal
Can someone guide me how I can hide get this done?