News for hackers. Stuff that matters.

SteveL-MSFT

Re:PowerShell 7.0 on Thursday March 05, 2020 @07:48PM (#22500079)
The PowerShell team doesn't own most of the modules that are shipped in Windows Server. Windows Server is a big project that takes many teams to work together to produce. In your specific example, the AD team owns that module. Set-Mailbox issues need to be sent to the Exchange team. I know you may not like that answer, but it's not feasible for a single team to own so many cmdlets that require different domain expertise.
Re:PowerShell 7.0 on Thursday March 05, 2020 @06:41PM (#22499650)
Given that PowerShell is Open Source, you can exactly see the telemetry code. Before we added the first bit of telemetry or when we needed to add more, we published RFCs for community feedback disclosing what we were collecting and why. https://github.com/PowerShell/PowerShell-RFC/blob/master/5-F... and https://github.com/PowerShell/PowerShell-RFC/blob/master/2-D.... We recognize that some users don't want to send any, which is why we made it simple to disable (completely!). However, opt-in telemetry also means we would receive very little making it not useful. Before any telemetry is added, we also go through an extensive privacy review to ensure no personally identifiable information is included (therefore all our telemetry is anonymous).
Re:PowerShell 7.0 on Thursday March 05, 2020 @06:27PM (#22499523)
Yes, pwsh inherits from parent. However, we've made improvements to use PS7 as a login shell. When used as a login shell, we exec sh on Linux and zsh on macOS to setup the environment, then exec pwsh to inherit.
Re:PowerShell 7.0 on Thursday March 05, 2020 @06:26PM (#22499509)
This is an idea we've discussed, but not something we're investing in right now. It could also solve the sudo/elevation problem for cmdlets. However a privileged service would also bring more security concerns.