• 0 Posts
  • 652 Comments
Joined 8 months ago
cake
Cake day: November 7th, 2023

help-circle













  • It seems to be an issue with using a 5.8 gigahertz WiFi endpoint, which has worked fine up until a couple days ago when it started dropping packets going outside my local network: I could watch a continuous ping start failing for a couple minutes while using Synergy to control my laptop that was connected to my work VPN without issue, so it only seemed to be an issue routing outside my network, which is really weird. Switching to the 2.4 gigahertz channels seems to have fixed it entirely.

    What I need to do is look up the JournalD commands to be able to read the logs correctly and find what I’m after… Might also spin up a VM to see if that goes out at the same time, would be interesting if the VM can still work while the host is dropping packets…


  • Not sure what’s extravagant about it… Fully object oriented pipeline in a scripting language built on and with access to the .NET type class system is insanely powerful. Having to manipulate and parse string output to extract data from command results in other shells just feels very cumbersome and antiquated, and relies on the text output to remain consistent to not break

    PowerShell, it doesn’t matter if more or less data is returned, as long as the properties you’re using stay the same your script will not break

    Filtering is super easy

    The Verb-Noun cmdlet naming convention gets a lot of (undeserved) hate, but it makes command discovery way easier. Especially when you learn that there’s a list of approved verbs with defined meanings, and cmdlets with matching nouns tend to work together.

    It actually follows the Unix philosophy of each cmdlet doing one thing (though sometimes a cmdlet winds up getting overloaded, but more often than not that’s a community or privately written cmdlet)

    It’s easily powerful enough to write programs with (and I have)

    And it works well with C#, and if you know some C#, PowerShell’s eccentricities start to make way more sense

    Also, I mainly manage Windows servers for work running in an AD domain, so it’s absolutely the language of choice for that, but I’ve been using it for probably close to 14 years now and I can basically write it as easily as English at this point





  • V1 never actually shipped with any version of Windows

    Windows 7 shipped with V2, 8 with V3, 8.1 with v4, and 10 with v5 and later 5.1.

    5.1 is the latest (and last) version of Windows PowerShell.

    All versions after that are just PowerShell (or PowerShell Core for version 6)

    Not sure why they don’t bundle it by default, but starting at v7.2 it can be updated by Windows update