Skip to content

Commit

Permalink
Release 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
U-AMERICAS\Trevor_Squillario authored and U-AMERICAS\Trevor_Squillario committed May 8, 2023
1 parent bdadaee commit 8e031e3
Show file tree
Hide file tree
Showing 7 changed files with 267 additions and 2 deletions.
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 <[email protected]>
#
# Generated on: 4/26/2023
# Generated on: 5/8/2023
#

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

# Version number of this module.
ModuleVersion = '3.5.2'
ModuleVersion = '3.6.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
14 changes: 14 additions & 0 deletions Documentation/CommandReference.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# Functions
- [Connect-OMEServer](Functions/Connect-OMEServer.md)
- [Copy-OMETemplate](Functions/Copy-OMETemplate.md)
- [Disable-OMEAlertPolicy](Functions/Disable-OMEAlertPolicy.md)
- [Disconnect-OMEServer](Functions/Disconnect-OMEServer.md)
- [Edit-OMEDiscovery](Functions/Edit-OMEDiscovery.md)
- [Edit-OMEFabricUplink](Functions/Edit-OMEFabricUplink.md)
- [Edit-OMEGroup](Functions/Edit-OMEGroup.md)
- [Edit-OMESecurityBanner](Functions/Edit-OMESecurityBanner.md)
- [Edit-OMESupportAssistGroup](Functions/Edit-OMESupportAssistGroup.md)
- [Enable-OMEAlertPolicy](Functions/Enable-OMEAlertPolicy.md)
- [Get-OMEAlert](Functions/Get-OMEAlert.md)
- [Get-OMEAlertDefinition](Functions/Get-OMEAlertDefinition.md)
- [Get-OMEAlertPolicy](Functions/Get-OMEAlertPolicy.md)
- [Get-OMEApplianceInfo](Functions/Get-OMEApplianceInfo.md)
- [Get-OMEApplicationSettings](Functions/Get-OMEApplicationSettings.md)
- [Get-OMEAuditLog](Functions/Get-OMEAuditLog.md)
Expand Down Expand Up @@ -54,6 +57,7 @@
- [Invoke-OMEReport](Functions/Invoke-OMEReport.md)
- [Invoke-OMEResetApplication](Functions/Invoke-OMEResetApplication.md)
- [Invoke-OMETemplateDeploy](Functions/Invoke-OMETemplateDeploy.md)
- [New-OMEAlertPolicy](Functions/New-OMEAlertPolicy.md)
- [New-OMECatalog](Functions/New-OMECatalog.md)
- [New-OMEConfigurationBaseline](Functions/New-OMEConfigurationBaseline.md)
- [New-OMEDirectoryService](Functions/New-OMEDirectoryService.md)
Expand Down Expand Up @@ -118,6 +122,16 @@
- ServerName (string[] ServerName {get;set;})
- ServerPort (int ServerPort {get;set;})
- ServerType (string ServerType {get;set;})
## AlertPolicy
- DefaultPolicy (bool DefaultPolicy {get;set;})
- Description (string Description {get;set;})
- Enabled (bool Enabled {get;set;})
- Id (int Id {get;set;})
- Name (string Name {get;set;})
- Owner (string Owner {get;set;})
- PolicyData (psobject PolicyData {get;set;})
- State (bool State {get;set;})
- Visible (bool Visible {get;set;})
## ApplianceInfo
- Branding (string Branding {get;set;})
- BuildDate (string BuildDate {get;set;})
Expand Down
56 changes: 56 additions & 0 deletions Documentation/Functions/Disable-OMEAlertPolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
external help file: DellOpenManage-help.xml
Module Name: DellOpenManage
online version:
schema: 2.0.0
---

# Disable-OMEAlertPolicy

## SYNOPSIS
Enable Alert Policy

## SYNTAX

```
Disable-OMEAlertPolicy [-AlertPolicy] <AlertPolicy[]> [<CommonParameters>]
```

## DESCRIPTION
{{ Fill in the Description }}

## EXAMPLES

### EXAMPLE 1
```
17758 | Get-OMEAlertPolicy | Disable-OMEAlertPolicy
```

## PARAMETERS

### -AlertPolicy
Object of type AlertPolicy returned from Get-OMEAlertPolicy

```yaml
Type: AlertPolicy[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
### AlertPolicy
## OUTPUTS
## NOTES
## RELATED LINKS
56 changes: 56 additions & 0 deletions Documentation/Functions/Enable-OMEAlertPolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
external help file: DellOpenManage-help.xml
Module Name: DellOpenManage
online version:
schema: 2.0.0
---

# Enable-OMEAlertPolicy

## SYNOPSIS
Enable Alert Policy

## SYNTAX

```
Enable-OMEAlertPolicy [-AlertPolicy] <AlertPolicy[]> [<CommonParameters>]
```

## DESCRIPTION
{{ Fill in the Description }}

## EXAMPLES

### EXAMPLE 1
```
17758 | Get-OMEAlertPolicy | Disable-OMEAlertPolicy
```

## PARAMETERS

### -AlertPolicy
Object of type AlertPolicy returned from Get-OMEAlertPolicy

```yaml
Type: AlertPolicy[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
### AlertPolicy
## OUTPUTS
## NOTES
## RELATED LINKS
81 changes: 81 additions & 0 deletions Documentation/Functions/Get-OMEAlertPolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
external help file: DellOpenManage-help.xml
Module Name: DellOpenManage
online version:
schema: 2.0.0
---

# Get-OMEAlertPolicy

## SYNOPSIS
Get alert policy

## SYNTAX

```
Get-OMEAlertPolicy [[-Value] <String[]>] [[-FilterBy] <String>] [<CommonParameters>]
```

## DESCRIPTION
{{ Fill in the Description }}

## EXAMPLES

### EXAMPLE 1
```
12016 | Get-OMEAlertPolicy
```

Get by Id

### EXAMPLE 2
```
Get-OMEAlertPolicy | Where-Object { $_.Name -eq "Group A Alert" }
```

Get by Name (OME API does not currently support filtering by Name natively)

## PARAMETERS

### -Value
String containing search value.
Use with -FilterBy parameter

```yaml
Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
### -FilterBy
Filter the results by (Default="Id")
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: Id
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
### String[]
## OUTPUTS
## NOTES
## RELATED LINKS
57 changes: 57 additions & 0 deletions Documentation/Functions/New-OMEAlertPolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
external help file: DellOpenManage-help.xml
Module Name: DellOpenManage
online version:
schema: 2.0.0
---

# New-OMEAlertPolicy

## SYNOPSIS
Create New Alert Policy

## SYNTAX

```
New-OMEAlertPolicy [-AlertPolicy] <String> [<CommonParameters>]
```

## DESCRIPTION
{{ Fill in the Description }}

## EXAMPLES

### EXAMPLE 1
```
New-OMEAlertPolicy -AlertPolicy $NewAlertPolicy
```

## PARAMETERS

### -AlertPolicy
JSON string containg alert policy.
Reference an existing policy with Get-OMEAlertPolicy | ConvertTo-Json -Depth 10

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
### String
## OUTPUTS
## NOTES
## RELATED LINKS
1 change: 1 addition & 0 deletions Documentation/GenerateMD.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ using module ..\DellOpenManage\Classes\Domain.psm1
using module ..\DellOpenManage\Classes\Fabric.psm1
using module ..\DellOpenManage\Classes\Uplink.psm1
using module ..\DellOpenManage\Classes\TemplateNetwork.psm1
using module ..\DellOpenManage\Classes\AlertPolicy.psm1

Import-Module platyPS
$module = "DellOpenManage"
Expand Down

0 comments on commit 8e031e3

Please sign in to comment.