cancel
Showing results for 
Search instead for 
Did you mean: 

HPOACmdlets

klesane
Occasional Visitor

HPOACmdlets

Hello All,

 

I am attempting to get help information for HP OA CSR Generation via PowerShell, however the "Start-HPOACertificateGeneration" command returns examples for the Start-HPOACertificateDownload Cmdlet.  when running "Get-Help Start-HPOACertificateDownload -Examples", I am given the same information.  Can anyone help out with this, or offer any examples?

 

PS C:\PowerShellScripts> get-help Start-HPOACertificateGeneration -Examples

NAME
    Start-HPOACertificateGeneration

SYNOPSIS
    Generates a pkcs#10 certificate request or a self-signed certificate.

    (C) Copyright 2014 Hewlett-Packard Development Company, L.P.

    -------------------------- EXAMPLE 1 --------------------------

    PS C:\> Start-HPOACertificateDownload -Connection $connection -Type LDAP -URL
    ftp://192.168.243.56/cer_southking/ldap_southking.cer


    In this example the list of OA connection is passed as a parameter along with Type.
    -------------------------- EXAMPLE 2 --------------------------

    PS C:\> Start-HPOACertificateDownload -Connection $connection
    Type not provided...
    Use same Type for all Connections? (y/n): y
    Please enter Type (Acceptable values are LDAP, RemoteSupport, CA, HPSIM, User, OA): user
    URL not provided...
    Use same URL for all Connections? (y/n): n
    Please enter URL for 192.168.241.254: ftp://192.168.243.56/cer/user2.cer
    Please enter URL for 192.168.242.64: ftp://192.168.243.56/cer/user3.cer


    In this example $connection is passed as parameter to the cmdlet. It can be an Object or an Object array returned
    from Connect-HPOA. Because parameters Type and URL are not provided, you are prompted to input the values.
    -------------------------- EXAMPLE 3 --------------------------

    PS C:\> $connection | Start-HPOACertificateDownload -Type HPSIM -URL 192.168.243.56


    In this example $connection is passed as parameter to the cmdlet through pipeline. It can be an Object or an
    Object array returned from Connect-HPOA.