Brian Scholer
Brian Scholer
That sounds pretty good to me!
> Alternative configuration using `StringOption Output.RenderMode`: > > * **Auto** (default): > > * Set to Plaintext if `$env:NO_COLOR` > * Set to Ansi if `$host.UI.SupportsVirtualTerminal` > * Else, default...
@beatcracker 's suggestions seem great to me, I would love to be able to get colorized output in GitHub Actions and I think that would do the trick.
> That's the idea. The plan is similar, but tried to also merge multiple messages to a single `write-host` call so we can fix broken redirection of Information-stream. > >...
> Not yet. Profiled some PoCs when this issue was created, but haven't had time after. Not sure if the stream redirection is worth the perf cost, tried to find...
Indeed @nohwnd , I did not end up using a global 😆 though in my case I simply dot sourced within the module's runspace. https://github.com/briantist/CcgVault/pull/5/files#diff-99dcb0298ba2b59c1cb805648abc6cd9ac0e8b732fa9dda7a8607b4676343244
I tried to work around this by adding double quotes to the OU myself, as in: ```powershell Invoke-DscResource -Name ADComputer -ModuleName ActiveDirectoryDsc -Verbose -Property @{ ComputerName = 'computer02' DnsHostName =...
One other possible (if unlikely) alternative, is to p/invoke the underlying functions that make ODJ possible, avoiding use of `djoin.exe` completely. [NetProvisionComputerAccount](https://docs.microsoft.com/en-us/windows/win32/api/lmjoin/nf-lmjoin-netprovisioncomputeraccount?redirectedfrom=MSDN) [NetRequestOfflineDomainJoin](https://docs.microsoft.com/en-us/windows/win32/api/lmjoin/nf-lmjoin-netrequestofflinedomainjoin?redirectedfrom=MSDN)
@bkabrda there's a lot of us in the Ansible community and I for one would be happy to help you figure that out! Any specific backwards compatibility concerns you have?...
> @briantist thanks a lot for your comment, it's very helpful. We currently have to support Ansible 2.6+, which IIUC doesn't work with collections, so I think we'd have to...