November 2018
Intermediate to advanced
566 pages
17h 15m
English
If you would like to create the files and directories again, don't run four commands. Run the following two:
PS> New-Item test-dir/child-dir -ItemType Directory -ForcePS> New-Item ./test-dir/file1, ./test-dir/file2, ./test-dir/child-dir/file3
The parameter, Force, creates test-dir when creating child-dir.
Go ahead and delete the entire directory if you want to, without the Recurse parameter. At the confirmation prompt, press Enter (Y is the default response).
Read now
Unlock full access