diff --git a/Tests/Public/Get-ZAJournalHistorySiteStat.Tests.ps1 b/Tests/Public/Get-ZAJournalSiteHistoryStat.Tests.ps1 similarity index 100% rename from Tests/Public/Get-ZAJournalHistorySiteStat.Tests.ps1 rename to Tests/Public/Get-ZAJournalSiteHistoryStat.Tests.ps1 diff --git a/ZertoApiWrapper/Public/Get-ZAJournalHistorySiteStat.ps1 b/ZertoApiWrapper/Public/Get-ZAJournalSiteHistoryStat.ps1 similarity index 96% rename from ZertoApiWrapper/Public/Get-ZAJournalHistorySiteStat.ps1 rename to ZertoApiWrapper/Public/Get-ZAJournalSiteHistoryStat.ps1 index 43e3993..98b5823 100644 --- a/ZertoApiWrapper/Public/Get-ZAJournalHistorySiteStat.ps1 +++ b/ZertoApiWrapper/Public/Get-ZAJournalSiteHistoryStat.ps1 @@ -1,5 +1,5 @@ <# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #> -function Get-ZAJournalHistorySiteStat { +function Get-ZAJournalSiteHistoryStat { [CmdletBinding()] param ( [Parameter( diff --git a/docs/Get-ZAJournalHistorySiteStat.md b/docs/Get-ZAJournalSiteHistoryStat.md similarity index 90% rename from docs/Get-ZAJournalHistorySiteStat.md rename to docs/Get-ZAJournalSiteHistoryStat.md index ffdb292..437cde4 100644 --- a/docs/Get-ZAJournalHistorySiteStat.md +++ b/docs/Get-ZAJournalSiteHistoryStat.md @@ -1,11 +1,11 @@ --- external help file: ZertoApiWrapper-help.xml Module Name: ZertoApiWrapper -online version: https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Get-ZAJournalHistorySiteStat.md +online version: https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Get-ZAJournalSiteHistoryStat.md schema: 2.0.0 --- -# Get-ZAJournalHistorySiteStat +# Get-ZAJournalSiteHistoryStat ## SYNOPSIS @@ -14,7 +14,7 @@ Get Max, Avg. and Min Journal History statistics for all VPGs replicating to a s ## SYNTAX ``` -Get-ZAJournalHistorySiteStat [-recoverySiteIdentifier] [[-startDate] ] [[-endDate] ] +Get-ZAJournalSiteHistoryStat [-recoverySiteIdentifier] [[-startDate] ] [[-endDate] ] [[-interval] ] [] ``` @@ -26,21 +26,21 @@ Get Max, Avg. and Min Journal History statistics for all VPGs replicating to a s ### Example 1 ```powershell -PS C:\> Get-ZAJournalHistorySiteStat -recoverySiteIdentifier "9876-5432-1098" +PS C:\> Get-ZAJournalSiteHistoryStat -recoverySiteIdentifier "9876-5432-1098" ``` Returns Journal Average History information for the recovery site with identifier "9876-5432-1098" ### Example 2 ```powershell -PS C:\> Get-ZAJournalHistorySiteStat -recoverySiteIdentifier "9876-5432-1098" -startDate "2019-06-01" -endDate "2019-06-08" +PS C:\> Get-ZAJournalSiteHistoryStat -recoverySiteIdentifier "9876-5432-1098" -startDate "2019-06-01" -endDate "2019-06-08" ``` Returns Journal Average History information for the recovery site with identifier "9876-5432-1098" between the dates specified. ### Example 3 ```powershell -PS C:\> Get-ZAJournalHistorySiteStat -recoverySiteIdentifier "9876-5432-1098" -startDate "2019-06-01" -endDate "2019-06-08" -interval 7200 +PS C:\> Get-ZAJournalSiteHistoryStat -recoverySiteIdentifier "9876-5432-1098" -startDate "2019-06-01" -endDate "2019-06-08" -interval 7200 ``` Returns Journal Average History information for the recovery site with identifier "9876-5432-1098" between the dates specified with a 2 hour interval.