RSSAmplifier

Blog

Bynkiidotcom

"Memories are supposed to fade, Lenny. They're designed like that for a reason." -Strange Days

bynkiidotcom.wordpress.comRSS feed ↗10 posts

Latest posts

Using XAML in PowerShell and .NET apps in PowerShell Modules

Recently, in my real job, I wanted to improve on the process of adding applications into SCCM/Software Center. While the SCCM wizard s not bad, it s kind of tedious, and you can t save any of the settings for an app easily. That was something I wanted to do, because SCCM has a solid, well-documented (APPLE PAY [ ]

PowerShell 7.6.0 Preview 6 macOS install bug

(This may also exist on Linux and Windows, but I can t verify that) There s currently (as of the date of this post) a bug with the .pkg installer for PowerShell 7.6.0 Preview 6: it doesn t update the installed preview version, instead it overwrites the installed non-preview/stable version. Obviously, this is less than desirable, but it s [ ]

PowerShell function return foolishness

While working on an update to Set-PowerShellSig, I noticed something weird. Well, not just weird, but bad. Say you explicitly create an arraylist or generic list in a function, we ll call it myDumbReturn and you add things to it. Now, you want to return this arraylist or generic list so you say: You d expect that [ ]

Set-PowerShellScriptSig 1.1 Published

A fairly significant update, 1.1 s Mac component leverages AppleScript s Choose File so you can select multiple PowerShell files to sign at once. It took a bit longer than I thought it would because while you can create generic list objects in PowerShell functions, what gets returned is a generic array. Sigh. Anyway, it s up at [ ]

Script To Download the Current Version of PowerShell

One of the annoying things about well, any software is checking to see if you have the currrent version. This is a thing with PowerShell, and because the PowerShell team in its finite wisdom has decided to not just have a latest stable/lts/preview url, we have to figure this out manually. It s not too bad [ ]

Getting info out of the macOS Unified Logging System

Related to some projects I ve been working on to get data out of the macOS ULS in a usable format for Splunk, I realized that it s kind of a pain to figure out what to sift through via predicates. Like the subsystems are easy, they re all in /System/Library/Preferences/Logging/Subsystems/. But the categories and senders and processes [ ]

Get-MacInfo update

Not a huge one, added iBridge data, so it now shows SIP/SSV/secure boot status, few other things. There s not much to it if you re running on Intel, most of this is AppleSilicon only. Available from the PowerShell Gallery at https://www.powershellgallery.com/packages/Get-MacInfo and the github site https://github.com/johncwelch/Get-MacInfo has been updated as well.

Get-ChooseFileName in PowerShell Gallery

Pretty much what it says, GetChooseFileName is now up on the PowerShell Gallery: https://www.powershellgallery.com/packages/Get-ChooseFileName W00t!!

Getting Warranty Info on your Mac with PowerShell

This was a feature someone asked for with Get-MacInfo, and now that I have it, I can work on integrating it. Here s the basics, the script is on the github site, and VERY REAL WARNINGS: So this is not as reliable as i d like it, because of the warnings above, but for now, this is [ ]

Major Update to Get-MacInfo

Major update to Get-MacInfo, details: It s up on the PowerShell Gallery at https://www.powershellgallery.com/packages/Get-MacInfo/2.0