Avoid PowerShell strings issues and REST API with OData queries
Have you bumped into string manipulation issues with PowerShell scripts using PnP PowerShell, and want to call services by their REST APIs with the Invoke-PnPSPRestMethod cmdlet, where need to use a Rest API URL that contains oData clauses?