Help running a Disk Cleanup cleanmgr /sagerun with a timeout

Comments

1 comment

  • Jordan Maresch

    Do a PowerShell step with the below:

    Start-Process -FilePath "cmd.exe" -ArgumentList '/c "cleanmgr /sagerun:1"' -WindowStyle Hidden

    0
    Comment actions Permalink

Please sign in to leave a comment.