Skip to content

Commit

Permalink
Increased file version v0.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelinux committed Aug 15, 2024
1 parent 1dbdbf6 commit 06de14d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrOntapEfficiencyVol.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrOntapEfficiencyVol {
.DESCRIPTION
.NOTES
Version: 0.6.7
Version: 0.6.8
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand All @@ -28,7 +28,7 @@ function Get-AbrOntapEfficiencyVol {

process {
try {
$Data = Get-NcVol -VserverContext $Vserver -Controller $Array | Where-Object { $_.Name -ne 'vol0' -and $_.State -eq "online" }
$Data = Get-NcVol -VserverContext $Vserver -Controller $Array | Where-Object { $_.JunctionPath -ne '/' -and $_.Name -ne 'vol0' -and $_.State -eq "online" }
$OutObj = @()
if ($Data) {
foreach ($Item in $Data) {
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrOntapEfficiencyVolDetailed.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrOntapEfficiencyVolDetailed {
.DESCRIPTION
.NOTES
Version: 0.6.7
Version: 0.6.8
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -33,7 +33,7 @@ function Get-AbrOntapEfficiencyVolDetailed {
if ($Data) {
foreach ($Item in $Data) {
try {
$Saving = Get-NcEfficiency -Volume $Item.Name -Controller $Array
$Saving = Get-NcEfficiency -Volume $Item.Name -Vserver $Vserver -Controller $Array
$inObj = [ordered] @{
'Volume' = $Item.Name
'Capacity' = $Saving.Capacity | ConvertTo-FormattedNumber -Type Datasize -ErrorAction SilentlyContinue
Expand Down
2 changes: 1 addition & 1 deletion Src/Private/Get-AbrOntapVserverVolumeSnapshot.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrOntapVserverVolumeSnapshot {
.DESCRIPTION
.NOTES
Version: 0.6.7
Version: 0.6.8
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down
2 changes: 1 addition & 1 deletion Src/Private/Get-AbrOntapVserverVolumeSnapshotHealth.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrOntapVserverVolumeSnapshotHealth {
.DESCRIPTION
.NOTES
Version: 0.6.7
Version: 0.6.8
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down
4 changes: 2 additions & 2 deletions Src/Public/Invoke-AsBuiltReport.NetApp.ONTAP.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
.DESCRIPTION
Documents the configuration of NetApp ONTAP in Word/HTML/Text formats using PScribo.
.NOTES
Version: 0.6.7
Version: 0.6.8
Author: Jonathan Colon Feliciano
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -642,7 +642,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
Get-AbrOntapEfficiencyAggr
foreach ($SVM in $Vservers) {
$VolFilter = Get-NcVol -VserverContext $SVM -Controller $Array | Where-Object { ($_.State -eq "online") -and ($_.Name -ne "vol0") }
if (Get-NcEfficiency -Volume $VolFilter.Name[0] -Vserver $SVM -Controller $Array) {
if (Get-NcEfficiency -Volume $VolFilter.Name[0] -Vserver $SVM -Controller $Array) {
Section -Style Heading4 "$SVM Vserver Volume Deduplication" {
Get-AbrOntapEfficiencyVolSisStatus -Vserver $SVM
Section -Style Heading5 "Volume Efficiency" {
Expand Down

0 comments on commit 06de14d

Please sign in to comment.