beardedtechguy, to Powershell
@beardedtechguy@allthingstech.social avatar

What did my day mostly consist of?

Well…it consisted mostly of creating PowerShell scripts.

kohelet, to Powershell
@kohelet@mstdn.social avatar

Shuffeling all my 1202 songs that I have offline,
Practicing PowerShell on my linux machine,
closing my eyes towards all the duties I need to do

ahhh, nothing like the weekend :)

michaelabon, to windows
@michaelabon@hachyderm.io avatar

Finally, Windows is getting "run this command in elevated permissions" for their terminals

https://devblogs.microsoft.com/commandline/introducing-sudo-for-windows/

gbraad, to Powershell
@gbraad@mastodon.social avatar

No need to wait for sudo from Microsoft to be dropped. Just install gsudo which also has more features!

PS> choco install gsudo  

https://github.com/gerardog/gsudo

cjerrington, to Powershell
@cjerrington@mstdn.social avatar

A guy from work I actually work with, said he was looking up a and question and actually came across my website on the topic.

I sure hope it helped him!

Clatent, to Powershell
@Clatent@techhub.social avatar

Let’s have some fun.. Most creative validation you’ve done or have seen?

wg, to Powershell

Just rediscovered something while renovating some older scripts:
You may use validation attributes at any script variables.
hmmm.. I think I want to use this a bit more ...now and then 🙂

leanpub, to Powershell
@leanpub@mastodon.social avatar

PowerShell 101 by Mike F. Robbins is free with a Leanpub Reader membership! Or you can buy it for $7.99! http://leanpub.com/powershell101

zirias, to KDE
@zirias@techhub.social avatar

Remember these specific misrenderings using the wrong ? Made actually a good testcase after adding codepage selection to my new "dos2ansi" tool 😜
https://github.com/Zirias/dos2ansi

Screenshot from () running on and using Microsoft's font.

zirias,
@zirias@techhub.social avatar

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 . I always got a file encoded as , no matter which format I chose (and with chosen, the output was just broken). Meditated on the code for a while. Looks all perfectly good.

Finally, I tested in good old . And it worked perfectly well.

So, is messing with the encoding of my stdout stream on redirects. Really? Really??? WTF, ? How should that ever do any good? 🤯

https://github.com/Zirias/dos2ansi/releases/tag/v0.6.1

sasstu, to Powershell German

Using the PowerShell PSWindowsUpdate module https://bit.ly/3HsP8Wr via PlanetPowerShell

beardedtechguy, to Powershell
@beardedtechguy@allthingstech.social avatar

Get-Service -Name "work*" | Where-Object {$_.Status -eq "stuffs-not-working"} | Restart-Service

bazcurtis, to Powershell
@bazcurtis@mastodon.social avatar

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

svrooij, to Powershell Dutch

Are you a developer that sometimes builds command line tools? You should consider creating a module instead. You get command and parameter auto complete without building anything.
https://svrooij.io/2024/01/18/dependencies-powershell-module-csharp/

EncoreUneMarie, to windows French
@EncoreUneMarie@diaspodon.fr avatar

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
Je suis très bonne en systèmes et cherche à me former sur
Je parle couramment l'anglais
J'ai travaillé sur le
Je fais du à mes heures perdues

furicle, to vim
@furicle@mastodon.social avatar

Does anybody have info on code completion/auto linting in for ?

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.

Suggestions?

leanpub, to Powershell
@leanpub@mastodon.social avatar

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

bazcurtis, to Powershell
@bazcurtis@mastodon.social avatar

Can anyone help with this error?

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.

itsfoss, (edited ) to linux
@itsfoss@mastodon.social avatar

Don't mess with it too much, fellow Windows user 😜

morax,
@morax@satanodon.com avatar

@itsfoss to be fair, this is me trying to use .

leanpub, to Powershell
@leanpub@mastodon.social avatar

PowerShell 101 by Mike F. Robbins is free with a Leanpub Reader membership! Or you can buy it for $7.99! http://leanpub.com/powershell101

leanpub, to Powershell
@leanpub@mastodon.social avatar

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

YourAnonRiots, to Powershell Japanese
@YourAnonRiots@mstdn.social avatar

infections employ various file types, including , Windows Script File (WSF), and VBScript (VBS) to bypass detection measures.

What remains consistent, though, is its use of dynamic DNS (DDNS) services.

Read: ⬇️
https://www.trendmicro.com/en_us/research/23/l/analyzing-asyncrat-code-injection-into-aspnetcompiler-exe.html?utm_source=trendmicroresearch&utm_medium=smk&utm_campaign=122023_AsyncRAT

leanpub, to Powershell
@leanpub@mastodon.social avatar

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

leanpub, to Powershell
@leanpub@mastodon.social avatar

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

leanpub, to Powershell
@leanpub@mastodon.social avatar

PowerShell Guide to Python by Prateek Singh is on sale on Leanpub! Its suggested price is $25.00; get it for $14.00 with this coupon: https://leanpub.com/sh/Bdqx9vqI

leanpub, to devops
@leanpub@mastodon.social avatar

The Pester Book (Pester Book (Forever Edition)) by Adam Bertram is on sale on Leanpub! Its suggested price is $50.00; get it for $25.50 with this coupon: https://leanpub.com/sh/d9QXyNTR

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines