ODataVersion Parameter (Connect-OData Cmdlet)
The version of OData that should be utilized. By default, the provider is designed to automatically detect and adapt to the appropriate version, ensuring seamless integration and functionality.
Syntax
Connect-OData -ODataVersion string
Possible Values
AUTO, 2.0, 3.0, 4.0Data Type
cstr
Default Value
"AUTO"
Remarks
When ODataVersion is set to Auto, the version will be detected automatically. In instances where the version cannot be determined, the cmdlet will revert to using version 3.0 as a safe fallback. Additionally, there is the option to manually specify the desired version if needed.