• shameless@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    11 hours ago

    I love PS but lookup: Remove-MgIdentityAuthenticationEventFlowAsOnGraphAPretributeCollectionExternalUserSelfServiceSignUpAttributeIdentityUserFlowAttributeByRef

      • nottelling@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        10 hours ago

        in Powershell, yes. the cmdlet naming convention is Verb-CamelCase.

        Only specific verbs are allowed as well. It works if the convention is broken, but it’ll complain when you import them as a module.

    • ArtVandelay@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      It’s fuzzy in my memory, but didn’t these all get auto-generated name s? I don’t think it was AI, this predates most of that, but there was some system they were using to auto-generate cmdlets

  • shalafi@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    14 hours ago

    PS really is the bomb. Been a Windows sysadmin for a decade and I couldn’t do a damned thing without PS. I have no modern programming or scripting experience, yet picked up PowerShell and started implementing it very quickly. If you’re running Active Directory, it’s a must, no question.

    Snover has some great intro to PS videos. That’s what got me started.