Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureVMDscExtension

Get-AzureVMDscExtension

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Gets the settings of the DSC extension on a particular VM.

Syntax

Get-AzureVMDscExtension [-Version] [-VM] [<CommonParameters>]

Detailed Description

Gets the settings of the DSC extension on a particular VM.

Parameters

-Version <String>

The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from.

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-VM <IPersistentVM>

The Virtual Machine to get the settings from.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext

Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

PS C:\> Get-AzureVMDscExtension -VM $vm

          ModulesUrl            : https://myaccount.blob.core.windows.net/windows-powershell-dsc/MyConfiguration.ps1.zip
          ConfigurationFunction : MyConfiguration.ps1\MyConfiguration
          Properties            : {ServerName}
          ExtensionName         : DSC
          Publisher             : Microsoft.Powershell
          Version               : 1.*
          PrivateConfiguration  :
          PublicConfiguration   : {
                                      "ModulesUrl": "https://myaccount.blob.core.windows.net/windows-powershell-dsc/MyConfiguration.ps1.zip",
                                      "ConfigurationFunction": "MyConfiguration.ps1\\MyConfiguration",
                                      "Properties": {
                                          "ServerName": "C:\\MyDirectory"
                                      }
                                  }
          ReferenceName         : DSC
          State                 : Enable
          RoleName              : my-vm

Unknown