rubrikinc / rubrik-sdk-for-powershell

Rubrik Module for PowerShell
https://build.rubrik.com/sdks/powershell/
MIT License
102 stars 87 forks source link

Support for ContentType Parameter in PS7 #854

Closed mwpreston closed 2 months ago

mwpreston commented 2 months ago

Description

Added support within the Invoke-RubrikWebRequest cmdlet to support adding the required ContentType parameter when issuing DELETE requests when using PowerShell 7 and above. Added cmdlet Test-PowerShellSeven to check powershell version.

Related Issue

Resolves #853

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist:

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

terjedahle commented 2 months ago

Hi Mike Preston! I can see you merged this, do you have a link where i can download the new rubrik-sdk module? Version 9.0.1 ?