Help!! Modify Script Remote Profile deleting

Welcome Forums General PowerShell Q&A Help!! Modify Script Remote Profile deleting

Viewing 4 reply threads
  • Author
    Posts
    • #207909
      Participant
      Topics: 5
      Replies: 17
      Points: 66
      Rank: Member

      Hi All,

       

      Hope you can help I have the below script that can delete profiles 1 by 1 looking to add an option to delete all profiles rather as an additional option could anyone help

      • This topic was modified 10 months, 3 weeks ago by kvprasoon. Reason: code formatting
    • #207951
      Senior Moderator
      Topics: 9
      Replies: 1449
      Points: 5,429
      Helping Hand
      Rank: Community MVP

      before reading the code, we would like to know the issue you are facing here 🙂

    • #207960
      Participant
      Topics: 5
      Replies: 17
      Points: 66
      Rank: Member

      Thanks for the response 🙂

       

      So I need a option to delete all profiles rather than selecting 1 by 1 cant seem to find any script that works with remote access that can do this

    • #207978
      Participant
      Topics: 5
      Replies: 260
      Points: 1,040
      Helping Hand
      Rank: Community Hero

      Have  you tried to modify your script?  Looks like you can just remove all the user prompt lines/loops (most of your script) and put line 55-56 in a simple foreach loop.

    • #208041
      Participant
      Topics: 17
      Replies: 1956
      Points: 4,011
      Helping Hand
      Rank: Community Hero

      Provided a basic answer in your other post:

      Deleting Profiles Remotely

Viewing 4 reply threads
  • The topic ‘Help!! Modify Script Remote Profile deleting’ is closed to new replies.