I\'m writing a PowerShell script to make several directories and copy a bunch of files together to \"compile\" some technical documentation. I\'d like to generate a manifest of
You can use command Get-ChildItem -Path | tree >> myfile.txt this will output tree-like structure of a directory and write it to "myfile.txt"
Get-ChildItem -Path | tree >> myfile.txt