Sign in

Guy Leech

@guyrleech.bsky.social
1.3K followers 233 following 866 posts

PowerShell nut. Dog owner. Grandfather

PostsRepliesMedia
Guy Leech @guyrleech.bsky.social · 06/01/2026
Did you know that when you've pressed Alt + tab on Windows 11, you can then use the cursor keys to move quicker, eg down, to the tab you want whilst still pressing Alt & release Alt? Similarly, press Windows + Tab & use cursor keys to navigate around & select via window thumbnail then press Enter
210
Guy Leech @guyrleech.bsky.social · 15/12/2025
Also helps when you want to reverse the chronological order but the dates aren't (yet) in a datetime time, eg returned as text so would need casting/converting to datetime to be able to sort correctly in PowerShell
000
Guy Leech @guyrleech.bsky.social · 15/12/2025
Got a #PowerShell array of objects with already sorted timestamps where you want to reverse the order? Eg I got logs from @Googlecloud but was most recent 1st & I wanted oldest first & rather than sort on the datestamp, I just reversed the array with [array]::Reverse( $yourArray )
260
Guy Leech @guyrleech.bsky.social · 15/12/2025
Is #dedup for NTFS on Server 2025 supported by #Microsoft for #FSlogix or not? Most AI says not but fails to give a definitive reference. Was enabled & working on a system I inherited BUT there was also corruption on that volume. Surely should be ok as a file system feature invisible to FSlogix?
100
Guy Leech @guyrleech.bsky.social · 14/12/2025
So sorry to hear that, I hope things improve
010
Guy Leech @guyrleech.bsky.social · 14/12/2025
Don't have too many windows open at once, it'll crash😃
010
Guy Leech @guyrleech.bsky.social · 11/12/2025
Well this is something that I have never seen before today in #PowerShell 5.1 & the lines causing it have been in my $profile for years. PowerShell.exe date is today - this could break a lot of scripts (as in cause them to pause f input)!! 😱
351
Guy Leech @guyrleech.bsky.social · 09/12/2025
Recently bought the T-shirt. No, I'm not quite sure why either. It's not sound enabled though
110
Guy Leech @guyrleech.bsky.social · 09/12/2025
You can't read that? You need the Microsoft error lookup tool! Although some of us carry it around in our heads which is why we forget why we've walked into a room😂
100
Guy Leech @guyrleech.bsky.social · 09/12/2025
Where's the fun in that?
000
Guy Leech @guyrleech.bsky.social · 09/12/2025
Anyone found a way to toggle the Do Not Disturb Notification setting in Windows 11? Found some stuff around setting registry values which didn't pan out & other stuff that P/Invoked WNF APIs but that failed too. Tried what I found in procmon but failed. Surely it must be possible?
110
Guy Leech @guyrleech.bsky.social · 28/11/2025
You don't use AI day to day?
100
Guy Leech @guyrleech.bsky.social · 27/11/2025
It definitely won't if you don't ask it
200
Guy Leech @guyrleech.bsky.social · 27/11/2025
Asked Copilot?
100
Guy Leech @guyrleech.bsky.social · 18/11/2025
Support portal too
110
Guy Leech @guyrleech.bsky.social · 18/11/2025
@cloudflare.social acknowledge that they are having problems. www.cloudflarestatus.com
120
Guy Leech @guyrleech.bsky.social · 18/11/2025
I sense a disturbance in the force, sorry internet. Trying to tweet this on X fails 🙁
361
Guy Leech @guyrleech.bsky.social · 13/11/2025
Might not be realistic in our scenario where sessions often are less than 1 hour. We also provider Google Drive, which provides a separate G: drive and that does not seem to suffer the same issue but my drive there has much less in it.
100
Reposted by Guy Leech
PSConfEU @psconf.eu · 10/11/2025
He’s back. 👔 The man who started it all — @jsnover.com, Inventor of #PowerShell, will open #PSConfEU 2026 in #Wiesbaden with the keynote you don’t want to miss. 🎟️ Tickets now available → psconf.eu #Automation #IT #Germany #Europe
12115
Guy Leech @guyrleech.bsky.social · 13/11/2025
I have 200+K files in mine so maybe I'm being unrealistic
100
Guy Leech @guyrleech.bsky.social · 13/11/2025
EUC folks with non-persistent desktops but using something like #FSlogix have you found a way to stop @OneDrive from taking ages (>50 minutes) to drop the (dehydrated) place holders into a new profile? Our sessions are generally <1 hour so cutting it fine + what if user needs a "late" file?
110
Guy Leech @guyrleech.bsky.social · 12/11/2025
Do you think i was Bourne yesterday? Very Korny, I hope someone doesn't bash your post
010
Reposted by Guy Leech
Rory Monaghan @rorymon.com · 29/10/2025
New Episode! 🚨 I cover layoffs from Amazon and GM, the root cause of the recent AWS outage, a concerning new Teams feature, my review of Pwn2Own Ireland 2025 and more! 🔊 Listen: on.soundcloud.com/ncOCKrv63zJM... 📺 View: youtu.be/aaLAY23ZJa4?...
youtu.be
Amazon Announces Layoffs! Pwn2Own Ireland! New Teams Monitoring Feature!
YouTube video by 5bytespodcast
011
Guy Leech @guyrleech.bsky.social · 29/10/2025
Why is he in your bathroom??
120
Guy Leech @guyrleech.bsky.social · 29/10/2025
Tres bon
010
Guy Leech @guyrleech.bsky.social · 29/10/2025
Yes and for languages I've never coded in like Go and Javascript
020
Guy Leech @guyrleech.bsky.social · 29/10/2025
Here's a typical use case for me using -Outvariable in an interactive PowerShell command line where I'm searching for a file so I want visual output as it searches but I also want the results in a variable so I can access more properties later if I need them without searching again
1101
Reposted by Guy Leech
Jaap "Jaap" Brasser @jaapjaap.bsky.social · 22/10/2025
We're at 99 members on our new Dutch PowerShell User Group meetup, are you going to get us to 100? Join us, for our favorite price: Free, here: meetup.com/dutch-powers... And if you do, share it here! #PowerShell #DevOps
meetup.com
Dutch PowerShell User Group | Meetup
Welcome to the Dutch PowerShell User Group! This group is for anyone interested in PowerShell, DevOps, Infrastructure as Code, and Cloud Infrastructure. Join us to learn, share knowledge, and network ...
1107
Guy Leech @guyrleech.bsky.social · 20/10/2025
PowerShell 7.5.4 released github.com/PowerShell/P...
github.com
Release v7.5.4 Release of PowerShell · PowerShell/PowerShell
7.5.4 Build and Packaging Improvements Update to .NET SDK 9.0.306 [release/v7.5] Update Ev2 Shell Extension Image to AzureLinux 3 for PMC Release (#26032) [release/v7.5] Fix variable reference ...
051
Guy Leech @guyrleech.bsky.social · 01/10/2025
Note that the default in secpol.msc says "Not Configured" but it's on by default so enable auditing but don't enable Success. I don't believe that these events are useful - they cause log overwrite of ones that are like process creation & termination
000
Guy Leech @guyrleech.bsky.social · 01/10/2025
Just dug this 2018 tweet out as seeing the issue at a customer: #Windows Security event log being swamped by 4703 "A token right was adjusted" events? Disable "Audit Authorization Policy Change" by local or group policy. Common with #SCCM learn.microsoft.com/en-us/previo...
210
Guy Leech @guyrleech.bsky.social · 30/09/2025
Thanks although you spelt powershell.exe wrong 😂
030
Guy Leech @guyrleech.bsky.social · 29/09/2025
Too many times
010
Guy Leech @guyrleech.bsky.social · 29/09/2025
What's the current thinking/consensus/experience of having duplicate machine SIDs on the same subnet & members of the same domain (different hostnames & MAC & IP addresses obviously)? It's many years since @markrussinovich.bsky.social said changing SIDs wasn't necessary but what about RoW?
420
Guy Leech @guyrleech.bsky.social · 26/09/2025
What a croc Or is it? What, a croc? 😄
000
Reposted by Guy Leech
PSConfEU @psconf.eu · 26/09/2025
💡 Be Your Own Sherlock in the Realms of Microsoft Graph 👨‍🏫 @hcritter.bsky.social – Senior System Engineer at CANCOM GmbH 🗓️ 14 Oct | #PSConfEU MiniCon 👉 Free ticket: synedgy.com/psconfeu-minicon #PowerShell #Microsoft #Graph #automation
053
Guy Leech @guyrleech.bsky.social · 26/09/2025
I use thin sliced ham for my dogs
030
Guy Leech @guyrleech.bsky.social · 26/09/2025
If you want to quickly figure out if & where a process is writing a logfile, create a filter (ctrl l) in @SysInternals procmon for your process(es) and also Category = Write & turn off registry & network capture in the toolbar
142
Guy Leech @guyrleech.bsky.social · 26/09/2025
Any of you got experiences of packaging Adobe or AutoCAD apps into MSIX and delivering via App Attach? About to have a play myself but interested to know if others have tried. I think going App-V is probably not a sensible approach given its life expectancy.
200
Guy Leech @guyrleech.bsky.social · 25/09/2025
Need to turn %USERDNSDOMAIN% into canonical form, eg for ADSI ? "DC=$(($env:USERDNSDOMAIN -split '\.') -join ',DC=')"
141
Guy Leech @guyrleech.bsky.social · 24/09/2025
They are indeed a croc ...
000
Guy Leech @guyrleech.bsky.social · 23/09/2025
It burns?🤣
000
Reposted by Guy Leech
PSConfEU @psconf.eu · 23/09/2025
💡 #PowerShell Security: A Journey Through Time 👨‍🏫👨‍🏫 @miriamwiesner.bsky.social - Security Researcher at Microsoft & Anam Navied - Software Engineer, PowerShell team at Microsoft 🗓️ 14 Oct | #PSConfEU MiniCon 👉 Free ticket: synedgy.com/psconfeu-minicon #automation
062
Guy Leech @guyrleech.bsky.social · 23/09/2025
In my Unix coding days I always preferred amber screens over green screens
120
Guy Leech @guyrleech.bsky.social · 23/09/2025
Jesus H Christ!
4331
Guy Leech @guyrleech.bsky.social · 23/09/2025
"We're going to need a bigger bed" ! 😂 I had 4 with me last night although they are smaller & my bed is bigger
1201
Guy Leech @guyrleech.bsky.social · 23/09/2025
London #PowerShell User Group in person Meetup is tomorrow evening www.meetup.com/powershell-l...
meetup.com
London PSUG September Meetup @ Jane Street, Wed, Sep 24, 2025, 5:30 PM | Meetup
Join us at Jane Street for this meetup! There will be drinks, food, and SWAG!!! Make sure your register here (mandatory)! **Schedule:** * 17:30 Arrival & Welcome Drinks *
042
Guy Leech @guyrleech.bsky.social · 11/09/2025
Cases for the old Nokia phones were to protect the floor, not the phone 😂
140
Guy Leech @guyrleech.bsky.social · 10/09/2025
Out-gridview does indeed now seem to be working properly
110
Guy Leech @guyrleech.bsky.social · 10/09/2025
Can still buy new Nokia phones!
100