From a5602eea77010eff03125d87d016147d0e745a2d Mon Sep 17 00:00:00 2001 From: Alvaro Sedano Date: Sat, 16 Jan 2021 16:34:29 +0100 Subject: [PATCH] remove-variable was disabled for debugging --- ListadoPfsUsuarios.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ListadoPfsUsuarios.ps1 b/ListadoPfsUsuarios.ps1 index 2e9a1fe..ede2d26 100644 --- a/ListadoPfsUsuarios.ps1 +++ b/ListadoPfsUsuarios.ps1 @@ -239,7 +239,7 @@ if ($fxml.ChildNodes.Count -eq 2) { Exit 6 } } -#Remove-Variable fxml -ErrorAction SilentlyContinue +Remove-Variable fxml -ErrorAction SilentlyContinue #Get the CRL revocation list @@ -263,13 +263,13 @@ foreach($a in $listaU) { #Add CA Certificates to $listaC (WITHOUT private keys) [array]$listaC = @() -Add-Lista -lista ([ref]$listaC) -obj ([ref]$product.ca) -fromCA $true -isOpnSense $($product.Name -eq 'opnsense') +Add-Lista -lista ([ref]$listaC) -obj ([ref]$product.ca) -fromCA $true #Add user/server certificates to $listaC (WITHOUT private keys) Add-Lista -lista ([ref]$listaC) -obj ([ref]$product.cert) -fromCA $false -isOpnSense $($product.Name -eq 'opnsense') #Note: User Certificates created with old pfSense versions can set the EnhancedKeyUsageList property to -#Remove-Variable product, r, listaR, listaU, listaG -ErrorAction SilentlyContinue +Remove-Variable product, r, listaR, listaU, listaG -ErrorAction SilentlyContinue ### ### Ruta de archivo CSV destino (delimitado por punto y coma)