macadminsconf, to Powershell

🎉 Join us at the MacAdmins Conference! Your registration includes the full day workshop like "Dive into PowerShell on the Mac," with John Welch. Secure your spot now for $999! 🖥️📚

Register today! https://macadmins.psu.edu

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/rVFMo6Vl JeffHicks@techhub.social #PowerShell

aeveltstra, to Powershell
@aeveltstra@mastodon.social avatar

I updated my example #Powershell #WindowsForms #GUI creation script:

https://gist.github.com/aeveltstra/2da6ef5a7dd93c4d44e24f9cde9fc676

It shows how to create a graphical user interface with Windows.Forms (dotnet) in Powershell.

The update added the ability for the font to adapt to the user's font theme and size changes in Windows. It's silly, really: Windows.Forms should do that by itself. But it doesn't, so every programmer has to be aware and make it happen. #accessibility #ux

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

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

aeveltstra, to Powershell
@aeveltstra@mastodon.social avatar

In ISE it may appear not needed to import types. But when running the same script from a command prompt, Powershell doesn't recognize them. Import them using the Add-Type commandlet.
https://gist.github.com/aeveltstra/94806a1230b8165f43e9b4e4dec9bacc?permalink_comment_id=5070100#gistcomment-5070100

jbzfn, to javascript
@jbzfn@mastodon.social avatar

⌛ The End of an Era: Microsoft Phases Out VBScript for JavaScript and PowerShell | @thehackernews

"Both NTLM and VBScript are known to be abused by threat actors to conduct malicious activities, prompting Redmond to remove features in an attempt to minimize the attack surface"

https://thehackernews.com/2024/05/the-end-of-era-microsoft-phases-out.html

aeveltstra, to Powershell
@aeveltstra@mastodon.social avatar
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

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

aeveltstra, to mswindows
@aeveltstra@mastodon.social avatar

I created a sample form for using via :
https://gist.github.com/aeveltstra/2da6ef5a7dd93c4d44e24f9cde9fc676

The most difficult thing about this script was to get the form and the tab control to size to their contents. That doesn't happen automatically. At Powershell level, the control size appears to have a Height and Width property that can be set. That is not the case on my Powershell and Windows 10 Pro. I had to create a System.Drawing.Size object and assign that to the size property.

rivetgeek, to Powershell
@rivetgeek@dice.camp avatar

I guess my #PowerShell scripts for our #SQLServer migration might be something of a hit. We'll see how they fare with 50-ish failover clusters here in a bit, but the tests with 10 or so were smooth as silk twice earlier today. I know this doesn't sound complicated — it's just failovers amirite? — but there are stumbling blocks that have to be accounted for including network latency, SIOS mirroring, Windows pending reboots, AD, DNS...y'know all of the usual wrenches getting thrown in the gears.

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/W8F2239R JeffHicks@techhub.social #PowerShell

  • 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