VeritasOS / netbackup-api-code-samples

Contains code samples that demonstrate the use of NetBackup REST API
MIT License
53 stars 52 forks source link

Issue/append vs bitwise or #60

Closed kenogden closed 4 years ago

kenogden commented 4 years ago

PowerShell Append for SecurityProtocol Not working in PS 4.0

Needed to change SecurityProtocol assignment from "+=" to Bitwise OR

The append / addition operator is not working in PS 4.0. The bitwise OR assignment method should be compatible with more PS versions.