File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ function Get-VdcEngineFolder {
7777 process {
7878
7979 if ( $PSCmdlet.ParameterSetName -eq ' All' ) {
80- Invoke-VenafiRestMethod - UriLeaf ' ProcessingEngines/' | Select-Object - ExpandProperty Engines | Get-VdcEngineFolder
80+ Invoke-VenafiRestMethod - UriLeaf ' ProcessingEngines/' | Select-Object - ExpandProperty Engines - ErrorAction SilentlyContinue | Get-VdcEngineFolder
8181 } else {
8282
8383 if ( [guid ]::TryParse($ID , $ ([ref ][guid ]::Empty)) ) {
@@ -92,7 +92,7 @@ function Get-VdcEngineFolder {
9292
9393 # engine
9494
95- $response = Invoke-VenafiRestMethod - UriLeaf " ProcessingEngines/Engine/$thisObjectGuid " | Select-Object - ExpandProperty Folders
95+ $response = Invoke-VenafiRestMethod - UriLeaf " ProcessingEngines/Engine/$thisObjectGuid " | Select-Object - ExpandProperty Folders - ErrorAction SilentlyContinue
9696
9797 $response | Where-Object { $_.FolderGuid -ne $thisObjectGuid } | Select-Object FolderName,
9898 @ { ' n' = ' FolderPath' ; ' e' = { $_.FolderDN } },
@@ -105,7 +105,7 @@ function Get-VdcEngineFolder {
105105
106106 # policy folder
107107
108- $response = Invoke-VenafiRestMethod - UriLeaf " ProcessingEngines/Folder/$thisObjectGuid " | Select-Object - ExpandProperty Engines
108+ $response = Invoke-VenafiRestMethod - UriLeaf " ProcessingEngines/Folder/$thisObjectGuid " | Select-Object - ExpandProperty Engines - ErrorAction SilentlyContinue
109109
110110 $response | Select-Object EngineName,
111111 @ { ' n' = ' EnginePath' ; ' e' = { $_.EngineDN } },
You can’t perform that action at this time.
0 commit comments