Now that the dust has settled, can we all agree powershell is unironically good?
Now that the dust has settled, can we all agree powershell is unironically good?
Other urls found in this thread:
social.technet.microsoft.com
social.technet.microsoft.com
old.reddit.com
amazon.com
wisesoft.co.uk
twitter.com
absolutely the tech is good. Just requires .NET stack and that's pretty significant if you'r not on botnet os.
>can't even run your own scripts by default
No, it's a retarded abomination.
I just spent hours trying to figure out why my PowerShell script to import active directory users from a csv file won't work. Can't find fuck all online anywhere.
kek
PowerShell pisses me the fuck off. Bash is 1000x better. I never did figure it out and the assignment is due tomorrow.
Pls help
but what's the reasoning for not just making it POSIX? why does MS have to be so fucking extra?
you didnt look real hard did you?
social.technet.microsoft.com
itoddlers btfo
I love it. Use it a tonne.
The only thing wrong with it is the inability to handle certain characters in file names.
If I do something like:
program_name *.ext with ctrl+space
It will bring up a selection of files, but when the files are selected, it will escape the character's causing the filename to be invalid.
If I then do program_name "*,ext", the same error occurs
If I then do program_name '*.ext', the same error occurs
The only way to fix it is to just do :
*.ext with ctrl+space, and let the default program run it.
I am not experienced with powershell by any means, but I have yet to find a way to prevent the filenames from being escaped. It's a huge hassle.
No I seen that page but it didn't resolve the issue. Kept getting same error seen here:
it's okay. but only rated well because in comparison batch is an abomination from hell.
Nope.
Good idea, terrible syntax and naming conventions. I know at least one admin who just does the same shit in F# instead.
>Windows encoding clusterfuck
>can end up writing normally undeletable files with \\?\ path prefix
>a bunch of characters not allowed in filenames
>some codepages default to raster fonts when using UTF-8 causing programs to fucking *crash* with an I/O error when attempting to write an UTF-8 character to console
>no way to programmatically change fonts to prevent said issue except importing from the Win32 API causing this abomination: old.reddit.com
>double quotation marks do fucking nothing useful
>single quotation marks interprets a string literally, including $variables
>needs fucking -literalpath to prevent the shell from fucking you up
No, user, it isn't good. PowerShells is absolute fucking ass cancer.
Ohhh and yes, there's also
>fucking UTF-8 with a BOM because why the fuck wouldn't you want to be completely incompatible with all other UTF-8 out there
There's just so many fucking bad things about PowerShell. I have no idea how people actually like this shit
Better than bash for sure.
Fuck bash.
Its botnet that sends to Microsoft servers
It's okay but missing too many utilities or shortcuts and it's annoying that you have to look up on what the powershell equivalent of X is. Also parameters are generally verbose.
>make your own inferior version of bash
>noone likes it because it's ugly, overly verbose and requires dotnet to run
>your terminal emulator is also shit
what did m$ mean with this?
This is what I've done at times too
F# is perfect for writing quick and reliable utilities
Everything is an object (except sometimes) vs Everything is a string always
>>your terminal emulator is also shit
It's not a terminal emulator. It's a system console. Windows console applications don't emulate a terminal at all (and pseudoterminals were basically an impossibility until recently in Windows land).
Doesn't change the fact that its garbage and a pain to work with
I found this posted on reddit (see image)
Also someone linked this utility, which is free.
wisesoft.co.uk