Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Supress Output?

Is there a way to suppress the output of a deploy? I am running an icacls script to change permissions on folders (many nested folders and files) and have run into the output exceeding 15MB. I saw the fix here (https://support.pdq.com/knowledge-base/970), but I really don't need to see the output so why make a bigger file size.

0

Comments

2 comments
Date Votes
  • You can pipe the output into NUL.

    icacls.exe > NUL
    

    PowerShell has a few ways to do it, such as:

    $null = icacls.exe
    icacls.exe | Out-Null
    
    0
  • Great! That did it thank you.

    0