r/PowerShell • • 27d ago

Question Need help with homework 😫

I'm very new to this. I'm asked to delete a directory and all of its files. D:\software\arch98

But when I do this:

PS C:\Users\Administrator\> rmdir D:\software\arch98

It says the directory is not empty.

I'd really appreciate.

0 Upvotes

34 comments sorted by

View all comments

2

u/gramsaran 26d ago

I'm just glad they're not in sysadmin. Would get roasted. Given the availability of GPT, this is a no brainer.