WebApp:Switch-AzureWebsiteSlot should support "Swap with Preview"
The azure management portal supports the "Swap with Preview" option on the web apps. It would only make sense that Switch-AzureWebsiteSlot also supported it.
@akurmi can you take a look
'Swap-AzureRmWebAppSlot' PowerShell cmdlet supports this swap mode.
Do you have link to correct usage or sample usage? I will need to run this as part of VSO release off a build agent.
Apply slot config: Swap-AzureRmWebAppSlots -ResourceGroupName Default-Web-EastAsia -Name webappslottest -SourceSlotName staging -DestinationSlotName production -SwapWithPreviewAction ApplySlotConfig
Complete slot swap: Swap-AzureRmWebAppSlots -ResourceGroupName Default-Web-EastAsia -Name webappslottest -SourceSlotName staging -DestinationSlotName production -SwapWithPreviewAction CompleteSlotSwap
Reset slot swap: Swap-AzureRmWebAppSlots -ResourceGroupName Default-Web-EastAsia -Name webappslottest -SourceSlotName staging -DestinationSlotName production -SwapWithPreviewAction ResetSlotSwap
Thank you!