Ask our Experts
Didn't find what you are looking for? Ask our experts!
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Search in
Free
EnglishStrengthen your foundational knowledge in Data Centers for free, enroll in this path today and start your learning journey!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-11 12:06 PM
Is there a way to allow powershell (or command prompt) to issue commands to the firmware upgrade utility via powershell. I am looking to create a script that will go thru an excel spreadsheet and use different columns in order to run the upgrade utility on a server. But I am not sure if there is an API I can download or a module in which powershell can issue commands to the upgrade utility. Or even using command prompt to upgrade all my AP8841 2nd generation PDUs. And give me a status update that it has completed successfully
# Import the ImportExcel module
Import-Module ImportExcel
# Define the path to your Excel spreadsheet
$excelFilePath = "C:\Path\To\Your\Excel\File.xlsx"
# Load the data from the Excel spreadsheet
$data = Import-Excel -Path $excelFilePath
# Iterate over each row of data
foreach ($row in $data) {
# Extract IP address, username, and password from the current row
$ipAddress = $row.IPAddress
$username = $row.Username
$password = $row.Password
# Construct the command to run the APC upgrade utility with the current parameters
$command = "apc_upgrade_utility.exe -ip $ipAddress -port 21 -user $username -password $password"
# Run the command and capture the output
$output = Invoke-Expression -Command $command
# Display the status
Write-Host "Status for device with IP address $ipAddress: $output"
}
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-12 05:39 AM
If the PDUs have serial numbers below ZA2225012367, so built before the 25th week of 2022, or if the serial numbers are ZA2225012367 and above and you are upgrading to firmware 2.5 you can use the FTP method to upgrade the firmware, and that can be scripted.
The process cannot be scripted if you upgrade the firmware to v3.0. However, you can upgrade the PDUs to firmware v3.0 using EcoStruxure IT.
Here is a link to the firmware page
https://www.apc.com/us/en/download/software-firmware/ Search on AP8841
Here is a link to a FAQ that discusses how to FTP firmware files.
https://www.apc.com/us/en/faqs/FA156047/
Here is a link to EcoStruxure IT.
https://www.se.com/us/en/work/campaign/innovation/datacenters.jsp
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.