while passing the above path i am getting following error due to space between onedrive - spacetree, i tried passing in double quotes and as well as in variable, still issue persists
Invoke Power Shell: The term ‘C:\Users\prasade\OneDrive’ is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
just to introduced what we did. As the Path contained spaces we surrounded it with ". For defining the inner strings we have to escape it with another. Therefore we used 3 x " on the begin / end
it is a matter of the script design and and you can edit the script e.g. by returns / outputs.