DSCResources/xIISApplicationPoolIdentityType/Build.ps1

$IdentityType = New-xDscResourceProperty -Name IdentityType -Type String -Attribute Required -ValidateSet "ApplicationPoolIdentity","LocalService","LocalSystem","NetworkService","SpecificUser"
$Password = New-xDscResourceProperty -Name lIdentity -Type PSCredential -Attribute Write 
$Pool = New-xDscResourceProperty -Name Pool -Type String -Attribute Key 

New-xDscResource -Name xIISApplicationPoolIdentityType -Property $IdentityType,$UserName,$Password,$Pool