Share via


New-AzureServiceProject

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

New-AzureServiceProject

Creates the required files and configuration (sometimes referred to as scaffolding) for a new service.

Parameter Set: Default
New-AzureServiceProject [-ServiceName] <String> [ <CommonParameters>]

This topic describes the cmdlet in the .6.19 version of the Windows Azure PowerShell module. To find out the version of the module you're using, from the Windows Azure PowerShell console, type (get-module azure).version.

The New-AzureServiceProject cmdlet creates the required files and configuration for a new Windows Azure service in the current directory.

-ServiceName<String>

Specifies the name of the service. It determines the first section of the hostname for your service (for example, name.cloudapp.net), and the directory that will contain your service. The name can contain only letters, digits, and the dash character (-).

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

This example creates scaffolding for a new Windows Azure service named “MyService1” in the current directory.

PS C:\> New-AzureServiceProject MyService1

Add-AzureNodeWebRole

Add-AzureNodeWorkerRole

Set-AzureServiceProject

Set-AzureServiceProjectRole