Simone Bizzotto
Simone Bizzotto
hey @whoisbruce , thanks for the report. There's another pending PR on invoke-dbaquery so as soon as that is merged I'll push a new PR to fix the documentation issue.
@fm-knopfler doubtful it'll work till also https://github.com/dataplat/dbatools/blob/development/private/functions/Invoke-TlsWebRequest.ps1 will get the addition. I don't understand why the parameterset though .... you may have a proxy and not wanting to pass a...
right, I forgot about the splat. I'd add -ProxyUseDefaultCredentials nonetheless then.
I'm trying to anticipate what will happen for sure: once we give out the possibility to use proxies, someone will come up asking for -ProxyUseDefaultCredentials ;-) . That being said,...
mmmhhh, it's `@Args`, not `$args` . if it doesn't work imho a clean solution is creating a splat as an hash within the caller and use it instead of positional...
so splatting has issues with switches. As long as Invoke-TlsWebRequest doesn't end up being an advanced function (cmdletbinding) am I missing something here ? ``` function Invoke-TlsWebRequest { Param ([switch]$UseBasicParsing)...
@fm-knopfler : do you need some help polishing this PR ?
okay @fm-knopfler , I'll be available in some hours. First things first, though .... I added the example for UseBasicParsing on Invoke-TlsWebRequest just to show how to deal with switches,...
just the needed ones, and I guess those are the only needed at the moment.... unless I'm missing something.
if that works I'm not against it. it now needs to be wired correctly with update-dbabuildreference and then the "code" part should be okay.... and you should be able to...