Microsoft Azure Blog
Blog on Windows Azure, Microsoft's Cloud Computing Platform, as well as other technical IT matters.
-
Custom HTML Tags
http://stackoverflow.com/questions/2802687/is-there-a-way-to-create-your-own-html-tag-in-html5
https://www.html5rocks.com/en/tutorials/webcomponents/customelements/
-
Setting up a Git server on Windows using Git for Windows and CopSSH
Setting up a Git server on Windows using Git for Windows and CopSSH more
-
Powershell Script to Send Email
Send-MailMessage has a -Credential parameter that takes a pscredential object. I would use a hashtable to store and splat the connection arguments:
$MailArgs = @{
From = 'mindaugas@yahoo. … more
-
Resizing an Azure VM disk dynamically
https://blogs.technet.microsoft.com/keithmayer/2015/03/24/resizing-data-disks-in-the-cloud-on-microsoft-azure-with-windows-powershell/
http://windowsitpro.com/azure/how-resize-azure-disk
-
Getting Started with Azure Powershell
Getting Started with Azure Powershell more
-
Automatic Zip and Backup a Folder
To backup folder C:\websites to c:\Backups using powershell from command prompt:
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression. … more
-
Orchard CMS Error: None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper'
When faced with error:
None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Module1' can be invoked with the available services and … more
-
Create Visual Studio 2017 Offline Installer
Run this from the command line (in the directory containing the online installer):
mu_visual_studio_professional_2017_x86_x64_10049787.exe --layout c:\vspro2017offline
Then you can use WinCDEmu … more
-
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