I am trying to run the following script from the command with parameters. However I get this error, what am I doing wrong?
-File & "'C:\BB2 Images\MoveFiles.ps1'" -destinationRoot "\\OB-VM-ME-Data\ME-Data\Archived\BusbarTools\BB-2" -localPath & "'C:\BB2 Images'"
Processing -File ''C:\BB2 Images\MoveFiles.ps1'' failed: The given path's format is not supported. Specify a valid path for the -File parameter.