Microsoft Azure Blog
Blog on Windows Azure, Microsoft's Cloud Computing Platform, as well as other technical IT matters.
-
SQL Server Error: The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON.
/* The solution is: */
USE Master GO ALTER LOGIN MyLogin WITH PASSWORD = 'mypassword' GO ALTER LOGIN MyLogin WITH CHECK_POLICY = OFF, CHECK_EXPIRATION = OFF; more
-
Windows Server 2016 Edition Cannot Be Upgraded Error
A DISM command will resolve this allowing you to activate –
Open a CMD window
Enter the following – DISM /Online /Set-Edition:ServerStandard /ProductKey:your-product-key-here /AcceptEula
Hit … more
-
How to specify an identity for an application pool
Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).
In the Connections pane, expand the server node and click Application Pools.
On the Application … more
-
Scheduling a job in SQL Azure
https://blogs.msdn.microsoft.com/ms-tech_learning_with_prasant/2014/07/09/scheduling-job-on-sql-azure/
-
Powershell Script to Reserve Public IP Address
List current reserved ips in the active subscription:
Get-AzureReservedIP
Create a new one for a virtual machine in the active subscription:
New-AzureReservedIP -ReservedIPName "[MyIPAdressName]" … more
-
Another VM Creation Powershell Script (untested)
Example 1I need a PowerShell command set to create the initial virtual machine for an Active Directory domain controller that: •Uses the Windows Server 2012 R2 Datacenter image.•Has the name AZDC1.• … more
-
Auto-create VM with instance level IP (full script)
# tested and working, manually get image name, adjust image size, instance ip works too, storage account must already exist though #Set-AzureSubscription -SubscriptionId "xxxxx-xxxxx-xxxxx-xxxxx- … more
-
Instance level IP address
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-instance-level-public-ip
-
Handy Powershell Commands for Windows azure
List all images:
Get-AzureVMImage | Select ImageName
To build the image:
$family="Windows Server 2012 R2 Datacenter"$image=Get-AzureVMImage | where { $_.ImageFamily -eq $family } | sort … more