News: 1597771811

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

PowerShell 7.1 Release Candidate is lurking around the corner, but first there's Preview 6 to poke and prod

(2020/08/18)


Microsoft has [1]emitted an update to the preview of its cross-platform scripting language, PowerShell 7.1.

Preview 6 brings the open-source framework a step closer to Release Candidate status, expected to arrive in September. There will be production support from then on, but in the meantime the preview moniker is firmly attached.

Despite the proximity to the first Release Candidate release, the gang has continued tinkering and made both breaking and non-breaking changes of note. Experimental features are also enabled by default, something that will change with the first RC.

One significant change that might catch out early adopters is a switch from -FromUnixTime to -UnixTimeSeconds for the handy get-date cmdlet. The gang reckoned that the From was inconsistent with the existing parameters ( -UnixTime also works, although forget to pass an argument and PowerShell will whine about UnixTimeSeconds regardless).

Those looking glumly at automation scripts that might now be a little broken would do well to remember that this is, after all, still preview code ( -FromUnixTime turned up in Preview 2).

Other features among the usual round of fixes and improvements include stderr being treated like an information stream and explicitly named parameters superseding that defined in a hashtable.

As well as an experimental feature to assist in debugging, Steve Lee, principal software engineer for PowerShell, also shared some statistics on usage of the platform from the [2]public dashboard for the project (containing information that watchers of the Windows operating system can only dream of).

The migration from PowerShell Core 6.2 to 7.0 is well under way by all accounts (handy, because support for the latter will soon be pulled) and the gang has hit more than 4.5 million startups in a day of the platform.

While the Linux useragent continues to be responsible for the lion's share of daily usage (and Ubuntu the distro of choice), Windows has continued to rise in popularity, according to the figures.

The team expect to make further changes before September's first release candidate and subsequent release to general availability later in the year. ®

Get our [3]Tech Resources



[1] https://devblogs.microsoft.com/powershell/powershell-7-1-preview-6/

[2] https://msit.powerbi.com/view?r=eyJrIjoiOWYzOTNjNDAtZTI4NS00MTU0LTk4MjEtZTFhNjhhOThlODVmIiwidCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsImMiOjV9&pageName=ReportSection5

[3] https://whitepapers.theregister.com/

What Did Santa Claus Bring You In 1999? (#1)

LINUS TORVALDS: Santa didn't bring me anything, but Tim O'Reilly just gave
me a large sum of money to publish my new book, "Linus Torvalds' Official
Guide To Receiving Fame, Fortune, and Hot Babes By Producing Your Own
Unix-Like Operating System In Only 10 Years".

ORDINARY LINUX HACKER: I kept hinting to my friends and family that I
wanted to build my own Beowulf Cluster. My grandmother got mixed up and
gave me a copy of "Beowulf's Chocolate Cluster Cookbook". I like
chocolate, but I would've preferred silicon.

LINUX LONGHAIR: My friends sent me a two-year subscription to several
Ziff-Davis publications, much to my dislike. I don't want to read Jesse
Berst's rants against Linux, or John Dvorak's spiels about how great
Windows 2000 is. Still, I suppose this isn't so bad. Ziff-Davis glossy
paper makes an excellent lining for fireplaces.