I create a script to add new keys to registry and create folders. additonal I want to capture my steps in a logfile.
to create a new folder:
New-Item "$env:ProgramFilesfolder2" -type directory -verbose >>C:templog.txt
How can I got only the verbose output to the logfile???
thanks!