Toggles read-only access to Microsoft SharePoint from the provider.
Syntax
Connect-SharePoint -Readonly
SwitchParameter
Data Type
bool
Default Value
false
Remarks
When set to true, the cmdlet allows only SELECT queries. Attempting an INSERT, UPDATE, DELETE, or stored procedure query will fail with an error message.