Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. $SubscriptionId = '3a54931f-5351-4ec4-9cf8-518e03257eff' # Not real
  2. $TenantId = 'eef4615a-8a57-4519-99ea-e2a8bad20f82' # Not real
  3. $Password = 'MyP@ssword99' # Not real
  4. $Username = 'a3716a34-ae63-4ab8-8fb7-1e5f15ec3975' # Not real
  5. $passwordSecure = ConvertTo-SecureString -String $Password -AsPlainText -Force
  6. $Credential = New-Object -TypeName PSCredential ($Username, $passwordSecure)
  7.  
  8. .\Publish-AzureRMWebappProject `
  9. -Credential $Credential `
  10. -SubscriptionId $SubscriptionId `
  11. -TenantId $TenantId `
  12. -WebAppPath 'C:\Users\Dan\Source\MyAwesomeWebApp\debug\netcoreapp1.1\publish' `
  13. -ResourceGroupName 'MyAwesomeWebApp' `
  14. -WebAppServiceName 'WebApp' `
  15. -SlotName 'offline' `
  16. -Verbose
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement