HewlettPackard / HewlettPackard/HPEDSCC-PowerShell-Toolkit

Is this PSToolkit proxy-capable?

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm having problems with a proxy with proxy-authentication. I set the proxy IP, Port and bypass list with

`netsh winhttp set proxy ...`

Then I simply
`$Wcl=New-Object System.Net.WebClient`
`$Creds=Get-Credential`
`$Wcl.Proxy.Credentials=$Creds`

Then, using Windows Powershell, I'm able to get a token but all subsequent calls return no data.

get-hpedsccstoragesystem -verbose returns

`VERBOSE: About to make rest call to URL https://eu1.data.cloud.hpe.com/api/v1/device-type1.`
`VERBOSE: The RestAPI Request failed with the following Status:`
` HTTPS Return Code =`
` HTTPS Return Code Description =`
`VERBOSE: Raw Response =`
`VERBOSE: Null value sent to create object type.`
`VERBOSE: About to make rest call to URL https://eu1.data.cloud.hpe.com/api/v1/device-type2.`
`VERBOSE: The RestAPI Request failed with the following Status:`
` HTTPS Return Code =`
` HTTPS Return Code Description =`
`VERBOSE: Raw Response =`
`VERBOSE: Null value sent to create object type.`

With latest MS Powershell even obtaining a token fails, connect-dscc -verbose returns
`VERBOSE: Changing default TLS to 1.2 from 1.0`
`VERBOSE: Able to DNS Resolve the Single Sign On (SSO) Server Successfully : SSO.Common.Cloud.HPE.com`
`VERBOSE: Detected PowerShell 7, so can test-connection. Testing SSO.Common.Cloud.HPE.com`
`Connect-DSCC: The Single Sign-In Server SSO.Common.Cloud.HPE.com Cannot be connected to. /r/n Please fix the network enviornment before re-running this command.`

Any ideas what I'm doing wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.