r/PowerShell • • Mar 04 '20

Announcing PowerShell 7.0 | PowerShell

https://devblogs.microsoft.com/powershell/announcing-powershell-7-0/?WT.mc_id=reddit-social-marouill
281 Upvotes

74 comments sorted by

View all comments

15

u/[deleted] Mar 04 '20

Is anyone currently installing Powershell 6 or 7 in a production enterprise environment?

6

u/spyingwind Mar 04 '20

We plan on using it as a self contained tool that doesn't require much other than disk space.

5

u/Vexxt Mar 05 '20

workstation yes, server no.

5

u/Guyver1- Mar 05 '20

Im using it in production for reporting I publish to an internal reporting web site i built.

Reports like installed software on all domain servers, all machine certificates, roles and features, scheduled tasks etc etc.

The Parallelization of ForEach-Object has brought some of these scripts down from a 55 minute runtime down to just 2 minutes.

4

u/SteveL_Msft Software Engineering Manager, PowerShell Mar 05 '20

Installed 7 on all my development machines

0

u/[deleted] Mar 05 '20

[deleted]

3

u/Hoggs Mar 05 '20

I'm using it on the ubuntu agent for azure devops pipelines!

Why? Because I know it, and I can easily process json files used in my pipeline... try doing that with bash. ;)

0

u/[deleted] Mar 05 '20

[deleted]

2

u/PMental Mar 05 '20

All the basic stuff still applies, and when you know that the new stuff will be easy to understand and use.

2

u/cyp3d Mar 05 '20

what is wrong with jq?

cat file.json | jq .Item[].Metadata.labels

3

u/bukem Mar 05 '20

We are using daily builds since PowerShell appeared on GitHub.

3

u/halbaradkenafin Mar 05 '20

Yes, both on my main devices and via AWS Lambda and Azure Functions

2

u/gordonv Mar 04 '20

Nah, home PC