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