Skip to content

Commit

Permalink
Fix module metadata
Browse files Browse the repository at this point in the history
- Exchange module cannot be published GH-83
- WindowsAdministration forwards confirmations from CimCmdlets GH-84
- DatabaseTools encoding
  • Loading branch information
aguzev committed May 17, 2023
1 parent 0a61bfb commit 597231a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@
#Requires -Modules @{ ModuleName='PureStoragePowerShellToolkit.FlashArray'; ModuleVersion='3.0.1' }
#Requires -Modules @{ ModuleName='dbatools'; ModuleVersion='1.0.173' }

#region Helper functions

function Convert-UnitOfSize {
[CmdletBinding()]
param (
[Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]
[AllowNull()]
$Value,
$To = 1GB,
$From = 1,
$Decimals = 2
)

process {
return [math]::Round($Value * $From / $To, $Decimals)
}
}
#region Helper functions

function Convert-UnitOfSize {
[CmdletBinding()]
param (
[Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]
[AllowNull()]
$Value,
$To = 1GB,
$From = 1,
$Decimals = 2
)

process {
return [math]::Round($Value * $From / $To, $Decimals)
}
}

function Write-Color {
[CmdletBinding()]
Expand Down Expand Up @@ -112,7 +112,7 @@ function Write-Color {
}
}

#endregion Helper functions
#endregion Helper functions

function Invoke-Pfa2DynamicDataMasking {
<#
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

$ErrorActionPreference = 'Stop'

Import-Module 'CimCmdlets' -Global
Import-Module 'Storage' -Global

# Core functions
$script:exch_snapin = 'Microsoft.Exchange.Management.PowerShell.SnapIn'
$script:PureProvider = [guid]'781C006A-5829-4A25-81E3-D5E43BD005AB'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#Requires -Version 5
#Requires -Modules @{ ModuleName='PureStoragePowerShellToolkit.FlashArray'; ModuleVersion='3.0.1' }

Import-Module 'CimCmdlets' -Global
Import-Module 'Storage' -Global

#region Helper functions

function Convert-UnitOfSize {
Expand Down

0 comments on commit 597231a

Please sign in to comment.