Release Notes
8 Automating Dell EMC PowerEdge Server Management by using iDRAC REST API with DMTF Redfish and Microsoft PowerShell
2 Microsoft PowerShell prerequisites
Before running any Microsoft PowerShell cmdlets by using the iDRAC REST API with Redfish, the following
prerequisites must be fulfilled:
Install PowerShell 5.0 or later. Run Get-Host to verify the PowerShell version.
Set ExecutionPolicy to “RemoteSigned”. To check the current setting, run Get-
ExecutionPolicy. To change the setting, run Set-ExecutionPolicy.
Ensure that Redfish is enabled on the iDRAC. By default, the Redfish service is enabled on iDRAC.
If a cmdlet requires to be automatically imported when starting a PowerShell session, create a
directory with the same name as the cmdlet in the directory path C:\Users\’your user
name’\Documents\WindowsPowerShell\Modules. For example, goal is for the Set-
PowerControlRedfish.psm1 cmdlet to automatically be imported when a PowerShell session is
started. Create the directory
C:\Users\’user name’\Documents\WindowsPowerShell\Modules\Set-
PowerControlREDFISH and copy the cmdlet into this directory path.