Skip to content

Commit

Permalink
Merge pull request #76 from PureStorage-OpenConnect/dev/aguzev/excel_…
Browse files Browse the repository at this point in the history
…reports

Remove ImportExcel dependency
  • Loading branch information
barkz authored May 3, 2023
2 parents b369ea4 + f8b920d commit 60e0a80
Show file tree
Hide file tree
Showing 8 changed files with 816 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
function Convert-UnitOfSize {
[CmdletBinding()]
param (
[parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]
[Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]
[AllowNull()]
$Value,
$To = 1GB,
$From = 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ $script:supportedBusTypes = @('iSCSI', 'Fibre Channel')
function Convert-UnitOfSize {
[CmdletBinding()]
param (
[parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]
[Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]
[AllowNull()]
$Value,
$To = 1GB,
$From = 1,
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ RequiredModules = @(
)

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @()
RequiredAssemblies = @(
'DocumentFormat.OpenXml.dll',
'System.IO.Packaging.dll'
)

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
ScriptsToProcess = @()
Expand Down Expand Up @@ -109,6 +112,8 @@ FunctionsToExport = @(
'Sync-Pfa2Hosts',
'New-Pfa2PGroupVolumes',
'New-Pfa2CapacityReport',
'Export-Pfa2Excel',
'New-Pfa2ExcelReport',
'Get-Pfa2Credential',
'Set-Pfa2Credential',
'Clear-Pfa2Credential'
Expand Down
Loading

0 comments on commit 60e0a80

Please sign in to comment.