Comment by justsomehnguy

Comment by justsomehnguy 2 days ago

1 reply

Do note the 'ls' usage:

    PS Cert:\LocalMachine\Root\> ls

       PSParentPath: Microsoft.PowerShell.Security\Certificate::LocalMachine\Root

    Thumbprint                                Subject              EnhancedKeyUsageList
    ----------                                -------              --------------------
    CDD4EEAE6000AC7F40C3802C171E30148030C072  CN=Microsoft Root C…
    BE36A4562FB2EE05DBB3D32323ADF445084ED656  CN=Thawte Timestamp…
    A43489159A520F0D93D032CCAF37E7FE20A8B419  CN=Microsoft Root A…
    92B46C76E13054E104F230517E6E504D43AB10B5  CN=Symantec Enterpr…
    8F43288AD272F3103B6FB1428485EA3014C0BCFE  CN=Microsoft Root C…
    7F88CD7223F3C813818C994614A89C99FA3B5247  CN=Microsoft Authen…
    245C97DF7514E7CF2DF8BE72AE957B9E04741E85  OU=Copyright (c) 19…
    18F7C1FCC3090203FD5BAA2F861A754976C8DD25  OU="NO LIABILITY AC…
    E12DFB4B41D7D9C32B30514BAC1D81D8385E2D46  CN=UTN-USERFirst-Ob… {Code Signing, Time Stamping, Encrypting File System}
    DF717EAA4AD94EC9558499602D48DE5FBCF03A25  CN=IdenTrust Commer…
    DF3C24F9BFD666761B268073FE06D1CC8D4F82A4  CN=DigiCert Global …
Now do the same without a convoluted hodge-podge of one-liner involving grep, python and cutting exact text pieces with regex.

I always love how linux fans do like to talk without any experience nor the will to get the said experience.

cachius 2 days ago

This is nice! What I find hard to grapple with is, how do other concepts of the file system map to these providers, even more so to Alias, Environment, Function or Variable? Like creating an item, deleting an item, copying an item, viewing contents and properties like permissions, size, visibility of an item?

For the Certificate provider specifically: When I think certificates and hierarchy, I think signing hierarchy of issueing certs. But this is not what is exposed here, just the structure of the OS cert store without context. and moving items has much more implications that inside a normal data folder. Thus I prefer certlm/certmgr.msc as they provide some more of it.

Sometimes It feels as they crammed too much into that idea, a forced concept. https://superuser.com/q/1065812/what-is-psprovider-in-powers...