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

This is not the latest version of HP Onboard Administrator Cmdlets for Windows PowerShell available.

HP Onboard Administrator Cmdlets for Windows PowerShell

1.1.0.3

Package test results have failed.

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

This package was approved by moderator ferventcoder on 12/29/2015.

The HP Onboard Administrator(OA) Cmdlets for Windows PowerShell provides a set of utilities that allow users to manage OA devices using PowerShell. It is designed for IT experts with experience in PowerShell scripting and configuring HP ProLiant server hardware.

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 --version 1.1.0.3

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 --version 1.1.0.3

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    #NOTE: Please remove any commented lines to tidy up prior to releasing the package, including this one
    # REMOVE ANYTHING BELOW THAT IS NOT NEEDED
    
    $ErrorActionPreference = 'Stop'; # stop on all errors
    
    
    $packageName = 'hp-oa-cmdlets' # arbitrary name for the package, used in messages
    $url = 'http://whp-aus2.cold.extweb.hp.com/pub/softlib2/software1/pubsw-windows/p157797746/v107380/HPOACmdlets-x86.exe'
    $url64 = 'http://whp-aus2.cold.extweb.hp.com/pub/softlib2/software1/pubsw-windows/p667675183/v107379/HPOACmdlets-x64.exe'
    $fileType = 'msi'
    $silentArgs = '/quiet'
    $filePath = "$env:TEMP\chocolatey\$packageName"
    $fileFullPath = "$filePath\$packageName_Install.exe"
    
    try {
        if (-not (Test-Path $filePath)) {
            New-Item -ItemType directory -Path $filePath
        }
    
        Get-ChocolateyWebFile $packageName $fileFullPath $url $url64
    	
    	Add-Type -assembly "system.io.compression.filesystem"
    	[io.compression.zipfile]::ExtractToDirectory($fileFullPath, $filePath)
    
        $processor = Get-WmiObject Win32_Processor
        $is64bit = $processor.AddressWidth -eq 64
    
    	if ($is64bit) {
    	$file = "$filePath\HPOACmdlets-x64.msi"
    	} else {
    	$file = "$filePath\HPOACmdlets-x86.msi"
    	}
        
        Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $file
    
    } catch {
        throw
    }
    
    Remove-Item $filePath\* -recurse -force -exclude .exe
  • tools\chocolateyuninstall.ps1 Show
    #NOTE: Please remove any commented lines to tidy up prior to releasing the package, including this one
    # REMOVE ANYTHING BELOW THAT IS NOT NEEDED
    # Auto Uninstaller should be able to detect and handle registry uninstalls (if it is turned on, it is in preview for 0.9.9).
    
    $ErrorActionPreference = 'Stop'; # stop on all errors
    
    $packageName = 'hp-oa-cmdlets'
    # registry uninstaller key name is the key that is found at HKLM:\Software\Windows\CurrentVersion\Uninstall\ THE NAME
    $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 key 6432 probably never exists
    $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
    }
  • tools\ReadMe.md Show
    ## HP Onboard Administrator Cmdlets for Windows PowerShell
    The HP Onboard Administrator(OA) Cmdlets for Windows PowerShell provides a set of utilities that allow users to manage OA devices using PowerShell. It is designed for IT experts with experience in PowerShell scripting and configuring HP ProLiant server hardware.

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 245 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