Trouble invoking MongoDB update using shell --eval switch from Powershell Try using single quotes instead of double quotes around the eval statement.