Issue: Unable to run “CD” command on Lync management Shell in Lync Server 2013.
Error: Set-Location : A positional parameter cannot be found that accepts argument 'file'.
Problem Statement:
Whenever you want inside the folder you must use ‘CD’ command and when I was typing ‘c:\> CD Program Files’ command on Lync Server Management Shell, it was giving above error. But if I run same command from Command Prompt, it will allow me to go inside the directory.
Command: PS C:\> cd Program files
Resolution:
Resolution is very simple, use double quotation mark. Like below:
PS C:\> cd “Program files”
You will be able to go inside the directory.
Thank you.