diff --git a/ZertoApiWrapper/Public/Export-ZertoVmNicSetting.ps1 b/ZertoApiWrapper/Public/Export-ZertoVmNicSetting.ps1 index cace80a..6846145 100644 --- a/ZertoApiWrapper/Public/Export-ZertoVmNicSetting.ps1 +++ b/ZertoApiWrapper/Public/Export-ZertoVmNicSetting.ps1 @@ -77,7 +77,7 @@ function Export-ZertoVmNicSetting { $nicInfo } } - $nicSettings | ConvertTo-Csv | Out-File $OutputFile + $nicSettings | Export-Csv -Path $OutputFile } end {