estoy ejecutando el siguiente comando:confirmación automática de supresión en powershell
get-childitem C:\temp\ -exclude *.svn-base,".svn" -recurse | foreach ($_) {remove-item $_.fullname}
Lo que me pide con mucha frecuencia como esto:
Confirm
The item at C:\temp\f\a\d has children and the Recurse parameter was not specified. If you continue,
all children will be removed with the item. Are you sure you want to continue?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
¿Cómo puedo tener que ajusta automáticamente en "A" ?
funciona perfectamente ... gracias! – siliconpi
no funciona para mí :( Remove-Item iis: $ IISSitePath -Force – smnbss
@smnbss add -current a su comando remove-item –