« Back to Technical Discussions

UCS PowerSehll Toolkit: -Confirm:$false Not Working

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
I have been looking at the UCS PowerShell Toolkit to develop some scripts. There seems to be a bug with the cmdlets that causes them to ignore the -Confirm:$false argument. This will grealty hinder the ability to produce scripts.
 
I know this product is Beta, but it would be great to get this issue resolved.
 
See below for an example:
 
>Remove-UcsServiceProfile -ServiceProfile ESX-AD-VMFEX1 -Confirm:$false

Remove-UcsServiceProfile
Are you sure you want to remove hq-demo-ucsm-1:org-root/ls-ESX-AD-VMFEX1?
Yes  Yes to All  No  No to All  Suspend  [?] Help (default is "Y"):
 
Thanks,
Joe Keegan
infrastructureadventures.com

Hi Joe,

I tried this with CiscoUcs-PowerTool-0.9.7.0 and it worked:

Remove-UcsServiceProfile -ServiceProfile ESX-AD-VMFEX1 -Force





Regards,
-James