$btnCancel = $Window.FindName('btnCancel') $txtBoxSerials = $Window.FindName('txtBoxSerials') The full script is below, WordPress doesn’t like XML tags in the code so the content between the two and symbols is not displayed and should be as below:Īdd-Type –assemblyName PresentationFramework Īdd-Type -AssemblyName If Microsoft Excel is installed, the CSV will be opened, as an example, content is below. Once the process is complete and the results requested they will be saved to a temporary CSV file as shown above. The limit can be increased by request to HP but will need justification. If it takes a long time, 5000 will, it could use up the 100 call limit before the results can be requested. The script will use a call for submitting the job, a call for each query of the job status and a call for requesting the results. This time could be decreased, however the API has a call limit of 100 per day. This script is therefore set to query the job status every 5 minutes until complete. It is then required that the job status is queried until complete, at which point the results can be requested. The way the API works for bulk requests is that a request is submitted, a job ID provided. Once you click OK, progress will be echoed to the command line as shown below. The API documentation states both a serial number and product number should be supplied for each product, however the product number is not easily available and I found positives results are still provided without. Upon execution of the script a list box is displayed, you can enter up to 5000 serial numbers (API maximum), each on a new line. The full script is at the bottom of the post. The $apiKey and $apiSecret should be entered in the Param section below or specified as parameters on execution. Once approved you will be able to click on the app in the list of My Apps, where you will find your API Key and API Secret, both required to use the script. In order to use the below PowerShell script/form you will need to have or create an account here then navigate to My Apps, add a new app for HP Product Warranty and await approval. HP do provide a Product Warranty API available on application for developer account members here. The warranty details can be checked manually here or up to 20 here however the details have to be manually entered individually, you can’t just copy and paste a bunch of serial numbers. Hi i am looking for an it documentation tool (open source), what is there out there what we can use? this should be used for all the it instructions inside our departments.You may have a requirement to mass check the product warranty details of HP products. IT Documentation Best Practices & General IT.Snap! - AI Fuzz, Moon Economy, AI Tourism Fail, Hand-Washing, Sleep Deprivation Spiceworks Originalsįlashback: August 18, 1947: Hewlett-Packard Is Incorporated (Read more HERE.)īonus Flashback: August 18, 1965: Operation Scrape to lighten the Apollo Lunar Excursion Module (LE.Assuming your eyes won't last forever, Glasses / Contacts / or Lasik? 3. What's the last live music / performance / show you attended?2. Stupid Friday Questions | 8/18/23 Water Cooler. I want to completely rebuild the RAID with new SSD drives, but the virtual drive also contains the OS so will need to be reinstalled. I have a Dell server with a valid licensed copy of Windows Server 2016 install on it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |