Notices: This section not yet converted to new layout. Download stats are rolling back out.

HP Onboard Administrator Cmdlets for Windows PowerShell

1.1.0.701

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator flcdrg on 1/7/2017.

Scripting Tools for Windows PowerShell : OA Cmdlets create an interface to HPE Onboard Administrator(OA). These cmdlets can be used to get and set OA settings in HPE BladeSystem c3000 and c7000 Enclosures.

To install HP Onboard Administrator Cmdlets for Windows PowerShell, run the following command from the command line or from PowerShell:

C:\> choco install hp-oa-cmdlets

To upgrade HP Onboard Administrator Cmdlets for Windows PowerShell, run the following command from the command line or from PowerShell:

C:\> choco upgrade hp-oa-cmdlets

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    
    $packageName = 'hp-oa-cmdlets'
    $url = 'https://downloads.hpe.com/pub/softlib2/software1/pubsw-windows/p157797746/v125056/HPOACmdlets-x86.exe'
    $url64 = 'https://downloads.hpe.com/pub/softlib2/software1/pubsw-windows/p667675183/v125054/HPOACmdlets-x64.exe'
    $checksum = 'FB9205CBB3477F3A0E9DBD56A7DAAE54A38ED84A52D80FEA5E44AD0BF105B56A'
    $checksum64 = 'A66D300920464A8A7F9BF11E554E88C136180B28E66AF46F48674CFBB166AB81'
    $checksumType = 'sha256'
    $checksumType64 = 'sha256'
    $fileType = 'msi'
    $silentArgs = '/quiet'
    $dlPkg = "$packageName" + ".exe"
    $ValidExitCodes = '0'
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    
    if (Get-ProcessorBits 64) {
        $file = "HPOACmdlets-x64.msi"
    } else {
        $file = "HPOACmdlets-x86.msi"
    }
    
    Get-ChocolateyWebFile -PackageName $packageName -FileFullPath "$toolsDir\$dlPkg" -Url $url -Url64 $url64 -checksum $checksum -checksumType $checksumType -checksum64 $checksum64 -checksumType64 $checksumType64
    Get-ChocolateyUnzip -FileFullPath "$toolsDir\$dlPkg" -Destination $toolsDir 
    Install-ChocolateyInstallPackage $packageName $fileType $silentArgs "$toolsDir\$file" -ValidExitCodes $ValidExitCodes
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    
    $packageName = 'hp-oa-cmdlets'
    $registryUninstallerKeyName = '{FEA3D3B6-EF5C-4287-A5F0-4A089970C52F}' #ensure this is the value in the registry
    $msiProductCodeGuid = '{FEA3D3B6-EF5C-4287-A5F0-4A089970C52F}'
    $shouldUninstall = $true
    
    $local_key = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName"
    $local_key6432 = "HKCU:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName" 
    $machine_key = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName"
    $machine_key6432 = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName"
    
    $file = @($local_key, $local_key6432, $machine_key, $machine_key6432) `
        | ?{ Test-Path $_ } `
        | Get-ItemProperty `
        | Select-Object -ExpandProperty UninstallString
    
    if ($file -eq $null -or $file -eq '') {
        Write-Host "$packageName has already been uninstalled by other means."
        $shouldUninstall = $false
    }
    
    $installerType = 'MSI' 
    $silentArgs = "$msiProductCodeGuid /qn /norestart"
    $validExitCodes = @(0, 3010, 1605, 1614, 1641)
    $file = ''
    
    if ($shouldUninstall) {
     Uninstall-ChocolateyPackage -PackageName $packageName -FileType $installerType -SilentArgs $silentArgs -validExitCodes $validExitCodes -File $file
    }

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Hewlett Packard Enterprise

Copyright

© 2015 Hewlett-Packard Development Company, L.P.

Tags

Version History

Version Downloads Last updated Status
HP Onboard Administrator Cmdlets for Windows PowerShell 1.1.0.3 236 Sunday, August 16, 2015 approved

Discussion for the HP Onboard Administrator Cmdlets for Windows PowerShell Package

Ground rules:

  • This discussion is only about HP Onboard Administrator Cmdlets for Windows PowerShell and the HP Onboard Administrator Cmdlets for Windows PowerShell package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or HP Onboard Administrator Cmdlets for Windows PowerShell, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok