This is a migrated thread and some comments may be shown as answers.

PowerShell Newbie

0 Answers 107 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 29 Jul 2017, 02:33 AM
I am familiar with dos commands but powershell commands are new to me.

I have been tasked with writing a powershell command script that does two things:

1. Deletes the contents (all subfolders and the contents of the subfolders) under a particular folder
2. remove a shortcut from the desktop

if that can not be done with simple commands, maybe the steps need to be broken down:

1. gets a list of subdirectores under a directory
2. navigates to each of these directories and deltetes the contents
3. remove the subdirectories
4. then remove shortcuts from the desktop.

No answers yet. Maybe you can help?

Tags
Fiddler Classic
Asked by
William
Top achievements
Rank 1
Share this question
or