Skip to content

Commit

Permalink
version 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickael ROY committed Apr 10, 2024
1 parent ac8c83b commit f11ae4d
Show file tree
Hide file tree
Showing 2 changed files with 185 additions and 183 deletions.
198 changes: 99 additions & 99 deletions IdracRedfish.psd1
Original file line number Diff line number Diff line change
@@ -1,99 +1,99 @@
#
# Module manifest for module 'IdracRedfish'
#
# Generated by: Mickael ROY
#
# Generated on: 10/07/2019
#

@{

# Script module or binary module file associated with this manifest.
RootModule = '.\IdracRedfish.psm1'

# Version number of this module.
ModuleVersion = '2.4.0'

# ID used to uniquely identify this module
GUID = '8a459240-05be-48d1-b9c8-5124eeacb86e'

# Author of this module
Author = 'Mickael Roy'

# Company or vendor of this module
# CompanyName = ''

# Copyright statement for this module
#Copyright = '2015'

# Description of the functionality provided by this module
Description = 'Idrac RedFish Powershell Module'

# Minimum version of the Windows PowerShell engine required by this module
# PowerShellVersion = ''

# Name of the Windows PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the Windows PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module
# DotNetFrameworkVersion = ''

# Minimum version of the common language runtime (CLR) required by this module
# CLRVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @('storage')

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @('Functions\Common.ps1')

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @('Formats\*.ps1xml')

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module
FunctionsToExport = '*'

# Cmdlets to export from this module
# CmdletsToExport = '*'

# Variables to export from this module
# VariablesToExport = '*'

# Aliases to export from this module
AliasesToExport = '*'

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
# FileList = @()

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
# PrivateData = @{}

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}

#
# Module manifest for module 'IdracRedfish'
#
# Generated by: Mickael ROY
#
# Generated on: 10/07/2019
#

@{

# Script module or binary module file associated with this manifest.
RootModule = '.\IdracRedfish.psm1'

# Version number of this module.
ModuleVersion = '2.4.1'

# ID used to uniquely identify this module
GUID = '8a459240-05be-48d1-b9c8-5124eeacb86e'

# Author of this module
Author = 'Mickael Roy'

# Company or vendor of this module
# CompanyName = ''

# Copyright statement for this module
#Copyright = '2015'

# Description of the functionality provided by this module
Description = 'Idrac RedFish Powershell Module'

# Minimum version of the Windows PowerShell engine required by this module
# PowerShellVersion = ''

# Name of the Windows PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the Windows PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module
# DotNetFrameworkVersion = ''

# Minimum version of the common language runtime (CLR) required by this module
# CLRVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @('storage')

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @('Functions\Common.ps1')

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @('Formats\*.ps1xml')

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module
FunctionsToExport = '*'

# Cmdlets to export from this module
# CmdletsToExport = '*'

# Variables to export from this module
# VariablesToExport = '*'

# Aliases to export from this module
AliasesToExport = '*'

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
# FileList = @()

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
# PrivateData = @{}

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}

170 changes: 86 additions & 84 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,84 +1,86 @@
# Idrac RedFish Powershell Module
Based on an initial work of Texas Roemer (DELL)

Enhanced by Mickael Roy

## Load the module

```
PS C:\idrac-refdish-powershell-module> Ipmo .\IdracRedfish
```

## cmdlets inside

* Dismount-RacVirtualDrive
* Get-RacBiosSettings0
* Get-RacFirmwareVersion
* Get-RacJobStatus
* Get-RacManagerAttribute
* Get-RacPendingBiosSettings
* Get-RacPowerState
* Get-RacSession
* Get-RacUser
* Get-RacVirtualDriveStatus
* Invoke-RacBootToNetworkISO
* Invoke-RacOneTimeBoot
* New-RacSession
* New-RacUser
* Register-RacBiosSettings
* Remove-RacSession
* Remove-RacUser
* Repair-IdracBadGateway
* Reset-RacIdrac
* Set-RacManagerAttribute
* Set-RacPowerState
* Set-RacUserPassword
* Submit-RacPendingBiosSettings
* Test-RacRedfish
* Update-RacFirmware
* Get-RacManagerDellAttribute
* Set-RacManagerDellAttribute
* Initialize-DellPowerEdge.ps1
* Set-RacTemplate.ps1
* Import-RacTemplate.ps1


## Use Case examples
```powershell
Register-RacBiosSettings -Ip_Idrac 192.168.0.120 -RacUser root -RacPwd *pass* -Name SysProfile -Value PerfOptimized
Submit-RacPendingBiosSettings -Ip_Idrac 192.168.0.120 -RacUser root -RacPwd *pass* -Restart
```

```powershell
$Session = New-RacSession -Ip_Idrac 192.168.0.120 -Credential $Credential
Register-RacBiosSettings -Session $Session -Name SysProfile -Value PerfOptimized
Submit-RacPendingBiosSettings -Session $Session -Restart
```

## Change Log
### 2.3.0 Bug Fixes and little enhancements

### 2.3.0 Enhancement of ParameterSets
* Initialize-DellPowerEdge.ps1
* Set-RacTemplate.ps1
* Import-RacTemplate.ps1

### 2.2.1 New cmdlets
* Get-RacManagerDellAttribute
* Set-RacManagerDellAttribute

### 2.1.0 Proxy Update and Hostname parameter
All cmdlets can detect and use the proxy user.
Also, hostname parameter has been added beside Ip_Idrac.

### 2.0.0 Massive update
All cmdlets have been updated to manage token authentication and avoid clear password usage.
You can use Credential parameter to pass credentials during unique operation or,
you can generate a token with New-Racsession cmdlet that you store in a variable.

Remove-RacUser cmdlet added.

### 1.0.0 Initial push.



# Idrac RedFish Powershell Module
Based on an initial work of Texas Roemer (DELL)

Enhanced by Mickael Roy

## Load the module

```
PS C:\idrac-refdish-powershell-module> Ipmo .\IdracRedfish
```

## cmdlets inside

* Dismount-RacVirtualDrive
* Get-RacBiosSettings0
* Get-RacFirmwareVersion
* Get-RacJobStatus
* Get-RacManagerAttribute
* Get-RacPendingBiosSettings
* Get-RacPowerState
* Get-RacSession
* Get-RacUser
* Get-RacVirtualDriveStatus
* Invoke-RacBootToNetworkISO
* Invoke-RacOneTimeBoot
* New-RacSession
* New-RacUser
* Register-RacBiosSettings
* Remove-RacSession
* Remove-RacUser
* Repair-IdracBadGateway
* Reset-RacIdrac
* Set-RacManagerAttribute
* Set-RacPowerState
* Set-RacUserPassword
* Submit-RacPendingBiosSettings
* Test-RacRedfish
* Update-RacFirmware
* Get-RacManagerDellAttribute
* Set-RacManagerDellAttribute
* Initialize-DellPowerEdge.ps1
* Set-RacTemplate.ps1
* Import-RacTemplate.ps1


## Use Case examples
```powershell
Register-RacBiosSettings -Ip_Idrac 192.168.0.120 -RacUser root -RacPwd *pass* -Name SysProfile -Value PerfOptimized
Submit-RacPendingBiosSettings -Ip_Idrac 192.168.0.120 -RacUser root -RacPwd *pass* -Restart
```

```powershell
$Session = New-RacSession -Ip_Idrac 192.168.0.120 -Credential $Credential
Register-RacBiosSettings -Session $Session -Name SysProfile -Value PerfOptimized
Submit-RacPendingBiosSettings -Session $Session -Restart
```

## Change Log
### 2.4.1 Bug Fixes and little enhancements

### 2.4.0 Bug Fixes and little enhancements

### 2.3.0 Enhancement of ParameterSets
* Initialize-DellPowerEdge.ps1
* Set-RacTemplate.ps1
* Import-RacTemplate.ps1

### 2.2.1 New cmdlets
* Get-RacManagerDellAttribute
* Set-RacManagerDellAttribute

### 2.1.0 Proxy Update and Hostname parameter
All cmdlets can detect and use the proxy user.
Also, hostname parameter has been added beside Ip_Idrac.

### 2.0.0 Massive update
All cmdlets have been updated to manage token authentication and avoid clear password usage.
You can use Credential parameter to pass credentials during unique operation or,
you can generate a token with New-Racsession cmdlet that you store in a variable.

Remove-RacUser cmdlet added.

### 1.0.0 Initial push.



0 comments on commit f11ae4d

Please sign in to comment.