GithubHelp home page GithubHelp logo

Comments (4)

Crypt32 avatar Crypt32 commented on August 27, 2024

My module provides several built-in aliases for commands. Especially, Get-CertificationAuthority command has Get-CA alias and you can use it. On main project page you can find the list of commands and aliases where available.

In addition, there is no need to call Get-CertificationAuthority command each time during a single session. You can easily save CA object in a variable and then pipe it to other commands.

from pspki.

fullenw1 avatar fullenw1 commented on August 27, 2024

Good news!
In fact, I typed Get-Alias Get-CertificationAuthority and it returned that there is no alias for this cmdlet.
I guess the Get-Alias cmdlet only returns aliases declared inside functions...

You are right for the variable. It's even faster because you search for available CAs only once.
Thanks you!

from pspki.

Crypt32 avatar Crypt32 commented on August 27, 2024

I guess the Get-Alias cmdlet only returns aliases declared inside functions...

Get-Alias works in opposite direction: it resolves known alias to unknown fully-qualified command name. That is, if you type Get-Alias Get-CA it will return the fully-qualified command name Get-CertificationAuthority. It doesn't show possible aliases for known command.

from pspki.

fullenw1 avatar fullenw1 commented on August 27, 2024

Damn! You are right! A real newbie error: I forgot the -Definition parameter... :-/
Get-Alias -Definition Get-CertificationAuthority works fine :-)
Mea Culpa!!!

from pspki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.