Windows PowerShell is a scripting language built by Microsoft. PowerShell is available on all Windows Operating systems since XP. PowerShell provides access to the cmdlet command or single function tools, providing an easy method to automate administration of the operating system and applications. Simple tasks of copying, moving and deleting files are performed in Powershell. PowerShell programming is excellent for performing tasks repetitively across many computers.
- Skill level:
Other People Are Reading
Things you need
- Windows XP or later
- PowerShell 1.0 or later
Click on the "Start" icon located on the Windows task bar. Then click "Programs," "Accessories" and "Windows PowerShell" to start the PowerShell program.
Wait for the window labelled " Windows PowerShell" to appear and a command prompt starting with "PS" to display.
Enter the text "Remove-Item c:\directoryname*" and press the "Enter" key. Replace the text "directoryname" with the directory in which your files are located.
Type "dir c:\directoryname" and press "Enter" to verify the files were successfully deleted in Step 3.
Type "exit" at the Powershell command prompt, and press "Enter" to exit PowerShell.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for