Post ApwE2cTk7jbSgrKXEe by jla@fosstodon.org
(DIR) More posts by jla@fosstodon.org
(DIR) Post #ApwE2cTk7jbSgrKXEe by jla@fosstodon.org
2025-01-10T11:47:04Z
0 likes, 0 repeats
I know it is 'kind of non-sense', still ! : for teaching / educational at high-school ... do you know if i can sort of emulate M$ PowerShell in my GNU+ #Linux system? thX !#help
(DIR) Post #ApwE2dzKVmSpN77H6m by i@declin.eu
2025-01-10T11:50:14.653013Z
0 likes, 0 repeats
@jla https://github.com/PowerShell/PowerShell itself is cross platform, but you'll be lacking most of the windows module cmdlets since there's no use in porting them
(DIR) Post #ApwEkRU2MhETKZMdPM by jla@fosstodon.org
2025-01-10T11:51:01Z
0 likes, 0 repeats
@i that was my guess... thX !
(DIR) Post #ApwEkSQAsXjkEsZ41g by i@declin.eu
2025-01-10T11:58:15.924892Z
0 likes, 0 repeats
@jla try https://learn.microsoft.com/en-us/powershell/scripting/install/powershell-in-docker, they also provide windows server containers that would probably provide the best experience https://mcr.microsoft.com/en-us/artifact/mar/powershell/tags
(DIR) Post #ApwIwYNwvhkC1nXzPM by jla@fosstodon.org
2025-01-10T12:39:30Z
0 likes, 0 repeats
docker to the rescue ... @i thX yet, from my ignorance, PowerShell seems to be missing some of the most #unix powerful tooling , #IMHO , ... pipes ?
(DIR) Post #ApwIwZXuc9J7czDSZk by i@declin.eu
2025-01-10T12:45:14.163069Z
0 likes, 0 repeats
@jla pipes are still there, https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_pipelinesand some would go as far as saying that pushing objects instead of bytes makes for far less munging hassle