I get the follow error after running a command to change the physical path of the IIS site
PS C:\ASPApp> Get-IISSite
Name ID State Physical Path Bindings
Default Web Site 1 Started %SystemDrive%\inetpub\wwwroot http *:80:
PS C:\ASPApp> Get-IISSite Set-ItemProperty IIS:\Sites\sitea -name physicalPath -value %SystemDrive%\inetpub\wwwroot\test
Get-IISSite : A positional parameter cannot be found that accepts argument 'Set-ItemProperty'.
At line:1 char:1
I get the follow error after running a command to change the physical path of the IIS site
PS C:\ASPApp> Get-IISSite
Name ID State Physical Path Bindings
Default Web Site 1 Started %SystemDrive%\inetpub\wwwroot http *:80:
PS C:\ASPApp> Get-IISSite Set-ItemProperty IIS:\Sites\sitea -name physicalPath -value %SystemDrive%\inetpub\wwwroot\test Get-IISSite : A positional parameter cannot be found that accepts argument 'Set-ItemProperty'. At line:1 char:1