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
 

Add-AzurePHPWorkerRole

Add-AzurePHPWorkerRole

microsoft.windowsazure.commands.dll

Synopsis

Creates scaffolding for a PHP application which will be hosted in the cloud via php.exe

Syntax

Add-AzurePHPWorkerRole [-Name] [-Instances] [<CommonParameters>]

Detailed Description

Creates scaffolding for a PHP application which will be hosted in the cloud via php.exe

Parameters

-Name <String>

The name of the worker role, determines the folder name that will contain the scaffolding for the PHP service hosted in the worker role

Aliases

None

Required?

false

Position

1

Default value

WorkerRole1

Accept pipeline input?

false

Accept wildcard characters?

false

-Instances <Int32>

The number of role instances for this worker role, default is 1

Aliases

None

Required?

false

Position

2

Default value

1

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

php-dev

Examples

-------------- Default --------------

C:\PS>

Adds a Microsoft Azure Worker role with the default configuration (Name = "WorkerRole1", Instances = 1)

Add-AzurePHPWorkerRole

-------------- Single Instance Worker Role --------------

C:\PS>

Adds scaffolding for a single worker role named "MyWorkerRole" to the current application

Add-AzurePHPWorkerRole MyWorkerRole

-------------- Multiple Instance Worker Role --------------

C:\PS>

Adds scaffolding for a new worker role named "MyWorkerRole" to the current application, with a role instance count of 2

Add-AzurePHPWorkerRole MyWorkerRole -I 2

New-AzureServiceProject
Add-AzurePHPWebRole