Just rediscovered something while renovating some older #powershell scripts:
You may use validation attributes at any script variables.
hmmm.. I think I want to use this a bit more ...now and then 🙂
Released v0.6.1 just fixing one stupid little regression from refactoring: The terminfo writer must never be used when output does not go to stdout 🙈
So far so good, I just thought there was yet another bug, testing redirected output on #Windows. I always got a file encoded as #UTF16LE, no matter which format I chose (and with #UTF8 chosen, the output was just broken). Meditated on the code for a while. Looks all perfectly good.
Finally, I tested in good old #CMD. And it worked perfectly well.
So, #Powershell is messing with the encoding of my stdout stream on redirects. Really? Really??? WTF, #Microsoft? How should that ever do any good? 🤯
I am not a coder, but need some coding help. I have written a PowerShell script for our XDR course. It is compiled with ps2exe. It has been running for years without issue
The first script calls other PS scripts that need to be investigated, one is left running. The scripts themselves work fine. In Windows 11 the application is staying open in the task bar
Previously it has not been visible to the class. How can I hide the app when opened? I have used the ps2exe switches
Si quelqu'un a un job d'amin cybersecurité dans le sud de Paris avec télétravail (par pitié) n'hésitez pas à me faire signe. J'suis sympa, je m'intègre bien et je suis moins bête que je n'en ai l'air.
J'ai bossé sur #cyberark
Je suis très bonne en systèmes #windows et cherche à me former sur #linux
Je parle couramment l'anglais
J'ai travaillé sur le #SOC#checkpoint
Je fais du #powershell à mes heures perdues
Does anybody have info on code completion/auto linting in #Vim for #Powershell ?
Looking at youcompleteme and coc.vim I don't powershell listed at all
I prefer editing in Vim, but hate to give up on the linting/fix suggestions I get in vscode, so I tend to edit in Vim, then check in vscode, which is annoying and inefficient.
Vim mode in VSCode is too half baked for me - I never know what will work and what won't.
The PowerShell Practice Primer (The Book + Working Files) by Jeff Hicks is on sale on Leanpub! Its suggested price is $29.99; get it for $19.19 with this coupon: https://leanpub.com/sh/QbCKLUEM#PowerShell#Software
I have a script that is hosted on Discord and gets called from an executable that I made with ps2exe. That script downloads some other PowerShell files and runs them. They all run fine. I don’t understand how I have a line that is that long.
ERROR:
Cannot process the XML from the 'Error' stream of 'C:\windows\Systen32\MindowsPowerShelZ\v1.0\powershell.exe*: cannot begin with the '#’ character, hexadecinal value 0x23. Line 1, position 718800.
The PowerShell Scripting and Toolmaking Book by Don Jones and Jeff Hicks is on sale on Leanpub! Its suggested price is $65.00; get it for $49.50 with this coupon: https://leanpub.com/sh/yAEAJvCI#PowerShell
The PowerShell Scripting and Toolmaking Book by Don Jones and Jeff Hicks is on sale on Leanpub! Its suggested price is $65.00; get it for $49.50 with this coupon: https://leanpub.com/sh/1LcKWjBV#PowerShell
The PowerShell Scripting and Toolmaking Book by Don Jones and Jeff Hicks is on sale on Leanpub! Its suggested price is $65.00; get it for $49.50 with this coupon: https://leanpub.com/sh/MSuv6iFO#PowerShell