A couple suggestions:
Often when downloading AutoSPInstaller in a client environment, the PS1 files will be marked as 'Blocked' in Windows Explorer. Need to manually go and unblock the files before ASPI will run. This also happens when running AutoSPSourceBuilder. How about using the ASPI launch.bat file to run the PSstream utility to unblock the files? http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx
The ability to request a certificate from an Enterprise CA would be nice. A snippet of PS code that I created and have been using for a while would be this:
Function New-EITCACertificate
{
Often when downloading AutoSPInstaller in a client environment, the PS1 files will be marked as 'Blocked' in Windows Explorer. Need to manually go and unblock the files before ASPI will run. This also happens when running AutoSPSourceBuilder. How about using the ASPI launch.bat file to run the PSstream utility to unblock the files? http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx
The ability to request a certificate from an Enterprise CA would be nice. A snippet of PS code that I created and have been using for a while would be this:
Function New-EITCACertificate
{
Param([Parameter(Position=0,Mandatory=$true)][string] $CertificationAuthority,
[Parameter(Position=1,Mandatory=$true)][string] $CertName,
[Parameter(Position=2,Mandatory=$true)][string] $CommonName)
Write-Verbose "createCertificate: Preparing Web Server Certificate request..."
$TemplateName = "WebServer"
Remove-Item webcert.inf -ErrorAction silentlycontinue | Out-Null
Remove-Item webcert.req -ErrorAction silentlycontinue | Out-Null
Add-Content webcert.inf "[NewRequest]`r
Subject = `"CN=$CommonName`"`r
Exportable = TRUE`r
RequestType = CMC`r
FriendlyName = `"$CertName`"`r
[RequestAttributes]`r
CertificateTemplate = `"$TemplateName`"`r"
. certreq -new webcert.inf webcert.req | Out-Null
Write-Debug "createCertificate: Sending Certificate Request..."
. certreq -submit -config $CertificationAuthority webcert.req webcert.cer | Out-Null
Write-Debug "createCertificate: Installing Certificate for IIS SSL..."
. certreq -accept webcert.cer | Out-Null
Write-Verbose "createCertificate: Successfully installed the certificate."
#Cleanup Certificate Request Files
Remove-Item webcert.inf -ErrorAction silentlycontinue | Out-Null
Remove-Item webcert.req -ErrorAction silentlycontinue | Out-Null
Remove-Item webcert.cer -ErrorAction silentlycontinue | Out-Null
}