/build/static/layout/Breadcrumb_cap_w.png

Running a Powershell Script to delete a folder

I am trying to run a powershell script that will delete the signatures folder for all users. I can't seem to get the script to run successfully. 

Here is the script that I am trying to run

wMlMUDNYJ6ReQAAAABJRU5ErkJggg==


Here is what I keep receiving

wN88GJeOKCdAAAAAElFTkSuQmCC


0 Comments   [ + ] Show comments

Answers (1)

Posted by: mattl 1 year ago
White Belt
0

Hopefully you've found a solution, but I did something similar today and found your post while trying to figure out a solution and thought I'd share what I did.

I followed https://support.quest.com/kb/4288162/native-powershell-support

  1. Go to Scripting | Choose Action | New
  2. Provide a Name for the script
  3. Check the Enabled box
  4. Change the Type to Online Shell Script
  5. Choose a Status: Optional
  6. Provide a Description: Optional
  7. Add Notes: Optional
  8. Deploy: Choose the device(s) to deploy to
    1. KACE recommends testing any new task on test devices before pushing to production devices
  9. Windows Run As: Optional
  10. Notify: Optional
  11. Schedule: Optional
  12. Schedule Options: Optional
  13. Dependencies: Optional
  14. Script
    1. Script Text
      1. Insert Powershell Script here
      2. e.g.: Remove-Item "C:\Users\signtest\AppData\Roaming\Microsoft\Signatures" -Recurse -Force
    2. Script File Name
      1. Add the script name (.PS1)
      2. e.g..: delSignatures.ps1
  15. Click Save

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ