Skip to content

Commit

Permalink
Release 2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorSquillario committed Sep 16, 2021
1 parent 59282cc commit b516525
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 24 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.3.2]() - 2021-09-16

### Fixed
- Fixed issue with -SetTrapDestination parameter on New-OMEDiscovery ([Issue #4](https://github.com/dell/OpenManage-PowerShell-Modules/issues/4))

## [2.3.1]() - 2021-09-14
### Added
- Migrated scripts from https://github.com/dell/OpenManage-Enterprise/tree/master/PowerShell
Expand Down
4 changes: 2 additions & 2 deletions DellOpenManage/DellOpenManage.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Trevor Squillario <Trevor.Squillario@Dell.com>
#
# Generated on: 9/14/2021
# Generated on: 9/16/2021
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'DellOpenManage.psm1'

# Version number of this module.
ModuleVersion = '2.3.1'
ModuleVersion = '2.3.2'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
8 changes: 6 additions & 2 deletions DellOpenManage/Public/OME/New-OMEDiscovery.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,14 @@ function Get-DiscoverDevicePayload($Name, $HostList, $DeviceType, $DiscoveryUser
} else {
$DiscoveryConfigPayload.DiscoveryStatusEmailRecipient.PSObject.Properties.Remove("DiscoveryConfigTargets")
}
$DiscoveryConfigPayload.TrapDestination = $SetTrapDestination
if ($SetTrapDestination) {
$DiscoveryConfigPayload.TrapDestination = $true
}
# Add version check for UseAllProfiles
if ($SessionAuth.Version -ge [System.Version]"3.7.0") {
$DiscoveryConfigPayload | Add-Member -NotePropertyName UseAllProfiles -NotePropertyValue $UseAllProtocols
if ($UseAllProtocols) {
$DiscoveryConfigPayload | Add-Member -NotePropertyName UseAllProfiles -NotePropertyValue $true
}
}
$DiscoveryConfigPayload.DiscoveryConfigModels[0].PSObject.Properties.Remove("DiscoveryConfigTargets")
$DiscoveryConfigPayload.DiscoveryConfigModels[0]| Add-Member -MemberType NoteProperty -Name 'DiscoveryConfigTargets' -Value @()
Expand Down
6 changes: 3 additions & 3 deletions Documentation/Functions/Edit-OMESupportAssistGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ Edit Support Assist group from json stored in variable

### EXAMPLE 3
```
Get-OMEGroup "Test Group 01" | Edit-OMEGroup -EditGroup $(Get-Content "C:\Temp\Group.json" -Raw)
Get-OMEGroup "Test Group 01" | Edit-OMESupportAssistGroup -EditGroup $(Get-Content "C:\Temp\Group.json" -Raw)
```

Edit Support Assist group from json stored in file

### EXAMPLE 4
```
Get-OMEGroup "Test Group 01" | Edit-OMEGroup -Devices $("PowerEdge R640" | Get-OMEDevice -FilterBy "Model")
Get-OMEGroup "Test Group 01" | Edit-OMESupportAssistGroup -Devices $("PowerEdge R640" | Get-OMEDevice -FilterBy "Model")
```

Add devices to group

### EXAMPLE 5
```
Get-OMEGroup "Test Group 01" | Edit-OMEGroup -Mode "Remove" -Devices $("PowerEdge R640" | Get-OMEDevice -FilterBy "Model")
Get-OMEGroup "Test Group 01" | Edit-OMESupportAssistGroup -Mode "Remove" -Devices $("PowerEdge R640" | Get-OMEDevice -FilterBy "Model")
```

Remove devices from group
Expand Down
4 changes: 1 addition & 3 deletions Documentation/Functions/Get-OMEAlertDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ Returns all devices if no input received.

### EXAMPLE 1
```
Get-OMEDevice -Value 12016
Get-OMEAlertDefinition
```

Get device by Id

## PARAMETERS

### CommonParameters
Expand Down
11 changes: 2 additions & 9 deletions Documentation/Functions/Get-OMEWarranty.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,10 @@ Get-OMEWarranty [<CommonParameters>]

### EXAMPLE 1
```
Get-OMEUser | Format-Table
Get-OMEWarranty | Format-Table
```

List all users

### EXAMPLE 2
```
"admin" | Get-OMEUser
```

Get user by name
List all warranty details

## PARAMETERS

Expand Down
2 changes: 1 addition & 1 deletion Documentation/Functions/Invoke-OMEMcmGroupAddMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Invoke-OMEMcmGroupAddMember [-Wait] [[-WaitTime] <Int32>] [<CommonParameters>]
```

## DESCRIPTION
This script uses the OME REST API to create mcm group, find memebers and add the members to the group.
This script uses the OME REST API to add all available chassis to the MCM Group

## EXAMPLES

Expand Down
11 changes: 10 additions & 1 deletion Documentation/Functions/Invoke-OMEMcmGroupAssignBackupLead.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Invoke-OMEMcmGroupAssignBackupLead [[-ServiceTag] <String>] [-Wait] [[-WaitTime]
```

## DESCRIPTION
This script uses the OME REST API to create mcm group, find memebers and add the members to the group.
This script uses the OME REST API to add a backup lead chassis

## EXAMPLES

Expand All @@ -26,6 +26,15 @@ This script uses the OME REST API to create mcm group, find memebers and add the
Invoke-OMEMcmGroupAssignBackupLead -Wait
```

Assign backup lead to random chassis

### EXAMPLE 2
```
Invoke-OMEMcmGroupAssignBackupLead -ServiceTag "XYZ1234" -Wait
```

Assign backup lead to specific chassis

## PARAMETERS

### -ServiceTag
Expand Down
4 changes: 2 additions & 2 deletions Documentation/Functions/Invoke-OMEMcmGroupRetireLead.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# Invoke-OMEMcmGroupRetireLead

## SYNOPSIS
Assign backup lead chassis to MCM Group
Retire lead chassis in MCM Group

## SYNTAX

Expand All @@ -18,7 +18,7 @@ Invoke-OMEMcmGroupRetireLead [[-PostRetirementRoleType] <String>] [-Wait] [[-Wai
```

## DESCRIPTION
This script uses the OME REST API to create mcm group, find memebers and add the members to the group.
This script uses the OME REST API to reture lead chassis

## EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

## Commit Changes
```
git commit -m 'Release 2.3.1'
git checkout main
git merge devel
git commit -m 'Release 2.3.1'
# Only tag releases as this triggers a git workflow (.github/workflows/create-release.yml)
git tag v2.3.1
Expand Down

0 comments on commit b516525

Please sign in to comment.