fm-knopfler
fm-knopfler
Can confirm that this is an issue in practice. Palo Alto Cortex on my corporate-managed Windows 10 computer suddenly blocked RD from running. Details from Cortex XDR: ``` Application Information:...
I can confirm, that the installation works when using `"E:\\"` for `InstancePath` (using version 2.1.10). It didn't matter if paths for parameters `"DataPath", "LogPath", "TempPath", "BackupPath"` started with `"E:\\"` or...
> @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...
> right, I forgot about the splat. I'd add -ProxyUseDefaultCredentials nonetheless then. For that, I assume, a change to `Invoke-TlsWebRequest` would be necessary, as the parameters provided to `Invoke-WebRequest` are...
No, `$args` is automatically created as an array, I'll try to figure out a solution using `$PSCmdlet.MyInvocation.BoundParameters`.
`Invoke-TlsWebRequest` doesn't accept named parameters, because it doesn't have a param block. Calling the function using splatting will not make a difference to the `$args` or `@args` variable, as this...
I have implemented `-ProxyUseDefaultCredentials`, but the logic is handled in `Update-DbaBuildReference` to not conflict with the use of unnamed parameters in `Invoke-TlsWebRequest`. Maybe this is an option to consider.
> @fm-knopfler : do you need some help polishing this PR ? Hi @niphlod , that would be very helpful, thanks a lot. Epecially the tests I am not familiar...
I'm not sure I undestand this correctly. Do you intend to add every parameter of ``Invoke-WebRequest`` to ``Invoke-TlsWebRequest`` or just the switches UseBasicParsing and ProxyUseDefaultCredentials?
After some investigation, I found using positional parameters via ``$args`` to be unreliable at best. I think we'll need to have all available or at least all required parameters of...