diff --git a/ZertoApiWrapper/Public/New-ZertoVpg.ps1 b/ZertoApiWrapper/Public/New-ZertoVpg.ps1 index 1ea7fe8..7b34854 100644 --- a/ZertoApiWrapper/Public/New-ZertoVpg.ps1 +++ b/ZertoApiWrapper/Public/New-ZertoVpg.ps1 @@ -136,12 +136,12 @@ function New-ZertoVpg { HelpMessage = "Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited", Mandatory = $false )] - [int]$journalHardLimitInMb = 153600, + [uint64]$journalHardLimitInMb = 153600, [Parameter( HelpMessage = "Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit.", Mandatory = $false )] - [int]$journalWarningThresholdInMb = 0 + [uint64]$journalWarningThresholdInMb = 0 ) begin { @@ -299,4 +299,4 @@ function New-ZertoVpg { # Return vpgSettings Identifier as a string to pass into Save function. return $vpgSettingsIdentifier.toString() } -} \ No newline at end of file +} diff --git a/ZertoApiWrapper/Public/en-us/ZertoApiWrapper-help.xml b/ZertoApiWrapper/Public/en-us/ZertoApiWrapper-help.xml index 64a1bf9..d3be543 100644 --- a/ZertoApiWrapper/Public/en-us/ZertoApiWrapper-help.xml +++ b/ZertoApiWrapper/Public/en-us/ZertoApiWrapper-help.xml @@ -7911,9 +7911,9 @@ Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited - Int32 + UInt64 - Int32 + UInt64 153600 @@ -7935,9 +7935,9 @@ Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well. - Int32 + UInt64 - Int32 + UInt64 None @@ -8143,9 +8143,9 @@ Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited - Int32 + UInt64 - Int32 + UInt64 153600 @@ -8167,9 +8167,9 @@ Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well. - Int32 + UInt64 - Int32 + UInt64 None @@ -8375,9 +8375,9 @@ Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited - Int32 + UInt64 - Int32 + UInt64 153600 @@ -8399,9 +8399,9 @@ Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well. - Int32 + UInt64 - Int32 + UInt64 None @@ -8607,9 +8607,9 @@ Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited - Int32 + UInt64 - Int32 + UInt64 153600 @@ -8631,9 +8631,9 @@ Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well. - Int32 + UInt64 - Int32 + UInt64 None @@ -8839,9 +8839,9 @@ Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited - Int32 + UInt64 - Int32 + UInt64 153600 @@ -8863,9 +8863,9 @@ Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well. - Int32 + UInt64 - Int32 + UInt64 None @@ -9071,9 +9071,9 @@ Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited - Int32 + UInt64 - Int32 + UInt64 153600 @@ -9095,9 +9095,9 @@ Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well. - Int32 + UInt64 - Int32 + UInt64 None @@ -9315,9 +9315,9 @@ Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited - Int32 + UInt64 - Int32 + UInt64 153600 @@ -9339,9 +9339,9 @@ Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well. - Int32 + UInt64 - Int32 + UInt64 None diff --git a/docs/New-ZertoVpg.md b/docs/New-ZertoVpg.md index 46aea84..73d2536 100644 --- a/docs/New-ZertoVpg.md +++ b/docs/New-ZertoVpg.md @@ -18,7 +18,7 @@ New-ZertoVpg -vpgName [-vpgPriority ] [-journalHistoryInHours < -recoverySite -recoveryCluster -datastoreCluster -recoveryFolder [-rpoInSeconds ] [-testIntervalInMinutes ] [-serviceProfile ] [-useWanCompression ] [-zorg ] -recoveryNetwork -testNetwork - [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] + [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] [] ``` @@ -28,7 +28,7 @@ New-ZertoVpg -vpgName [-vpgPriority ] [-journalHistoryInHours < -recoverySite -recoveryCluster -datastore -recoveryFolder [-rpoInSeconds ] [-testIntervalInMinutes ] [-serviceProfile ] [-useWanCompression ] [-zorg ] -recoveryNetwork -testNetwork - [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] + [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] [] ``` @@ -38,7 +38,7 @@ New-ZertoVpg -vpgName [-vpgPriority ] [-journalHistoryInHours < -recoverySite -recoveryHost -datastoreCluster -recoveryFolder [-rpoInSeconds ] [-testIntervalInMinutes ] [-serviceProfile ] [-useWanCompression ] [-zorg ] -recoveryNetwork -testNetwork - [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] + [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] [] ``` @@ -48,7 +48,7 @@ New-ZertoVpg -vpgName [-vpgPriority ] [-journalHistoryInHours < -recoverySite -recoveryHost -datastore -recoveryFolder [-rpoInSeconds ] [-testIntervalInMinutes ] [-serviceProfile ] [-useWanCompression ] [-zorg ] -recoveryNetwork -testNetwork - [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] + [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] [] ``` @@ -58,7 +58,7 @@ New-ZertoVpg -vpgName [-vpgPriority ] [-journalHistoryInHours < -recoverySite -recoveryResourcePool -datastoreCluster -recoveryFolder [-rpoInSeconds ] [-testIntervalInMinutes ] [-serviceProfile ] [-useWanCompression ] [-zorg ] -recoveryNetwork -testNetwork - [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] + [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] [] ``` @@ -68,7 +68,7 @@ New-ZertoVpg -vpgName [-vpgPriority ] [-journalHistoryInHours < -recoverySite -recoveryResourcePool -datastore -recoveryFolder [-rpoInSeconds ] [-testIntervalInMinutes ] [-serviceProfile ] [-useWanCompression ] [-zorg ] -recoveryNetwork -testNetwork - [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] + [-journalDatastore ] [-journalHardLimitInMb ] [-journalWarningThresholdInMb ] [] ``` @@ -220,7 +220,7 @@ Accept wildcard characters: False Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited ```yaml -Type: Int32 +Type: UInt64 Parameter Sets: (All) Aliases: @@ -251,7 +251,7 @@ Accept wildcard characters: False Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well. ```yaml -Type: Int32 +Type: UInt64 Parameter Sets: (All) Aliases: