You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for detecting and updating splatted parameters (#68)
* Splatted parameter support (part 1)
* Added unit test support for splatted parameter detection
* Fixed failing unit test from missing property
* Added splatted parameter example scripts
* Removed warnings for splatted parameter detection
* Added matched az upgraded sample scripts
* Fixed off-by-one bug and updated unit tests
* Added support for splatting with ordered hashtable
# Original source code: https://github.com/Azure/azure-docs-powershell-samples/blob/a513b6fceae51aaea1daaa8edd4d6fc66590d172/virtual-machine/create-vm-detailed/create-windows-vm-quick.ps1
2
+
# Variables for common values
3
+
$resourceGroup="myResourceGroup"
4
+
$location="westeurope"
5
+
$vmName="myVM"
6
+
7
+
# Create user object
8
+
$cred=Get-Credential-Message "Enter a username and password for the virtual machine."
# Original source code: https://github.com/Azure/azure-docs-powershell-samples/blob/a513b6fceae51aaea1daaa8edd4d6fc66590d172/virtual-machine/create-vm-detailed/create-windows-vm-quick.ps1
2
+
# Variables for common values
3
+
$resourceGroup="myResourceGroup"
4
+
$location="westeurope"
5
+
$vmName="myVM"
6
+
7
+
# Create user object
8
+
$cred=Get-Credential-Message "Enter a username and password for the virtual machine."
# Original source code: https://github.com/Azure/azure-docs-powershell-samples/blob/a513b6fceae51aaea1daaa8edd4d6fc66590d172/virtual-machine/create-vm-detailed/create-windows-vm-quick.ps1
2
+
# Variables for common values
3
+
$resourceGroup="myResourceGroup"
4
+
$location="westeurope"
5
+
$vmName="myVM"
6
+
7
+
# Create user object
8
+
$cred=Get-Credential-Message "Enter a username and password for the virtual machine."
# Original source code: https://github.com/Azure/azure-docs-powershell-samples/blob/a513b6fceae51aaea1daaa8edd4d6fc66590d172/virtual-machine/create-vm-detailed/create-windows-vm-quick.ps1
2
+
# Variables for common values
3
+
$resourceGroup="myResourceGroup"
4
+
$location="westeurope"
5
+
$vmName="myVM"
6
+
7
+
# Create user object
8
+
$cred=Get-Credential-Message "Enter a username and password for the virtual machine."
# Original source code: https://github.com/Azure/azure-docs-powershell-samples/blob/a513b6fceae51aaea1daaa8edd4d6fc66590d172/virtual-machine/create-vm-detailed/create-windows-vm-quick.ps1
2
+
# Variables for common values
3
+
$resourceGroup="myResourceGroup"
4
+
$location="westeurope"
5
+
$vmName="myVM"
6
+
7
+
# Create user object
8
+
$cred=Get-Credential-Message "Enter a username and password for the virtual machine."
# Original source code: https://github.com/Azure/azure-docs-powershell-samples/blob/a513b6fceae51aaea1daaa8edd4d6fc66590d172/virtual-machine/create-vm-detailed/create-windows-vm-quick.ps1
2
+
# Variables for common values
3
+
$resourceGroup="myResourceGroup"
4
+
$location="westeurope"
5
+
$vmName="myVM"
6
+
7
+
# Create user object
8
+
$cred=Get-Credential-Message "Enter a username and password for the virtual machine."
0 commit comments