Skip to content

Commit

Permalink
Changed setup to include nw85 and nmm 85
Browse files Browse the repository at this point in the history
changed nmm setup procedure for nmm 85
changed exchang scripts for new nmm requirements
changed hyper-v for new nmm
changes aag for new nmm
changed clone node for exchange to no longer require precinfig disks
clone node now at 95% vmxtoolkit level
  • Loading branch information
bottkars committed Mar 29, 2015
1 parent 976ccdb commit 8302c06
Show file tree
Hide file tree
Showing 12 changed files with 161 additions and 38 deletions.
32 changes: 26 additions & 6 deletions Scripts/AAG/nmm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,40 @@
#requires -version 3
[CmdletBinding()]
param(
[ValidateSet('nmm821','nmm300', 'nmm301', 'nmm2012', 'nmm3012', 'nmm82')]$nmm_ver = "nmm821"
[ValidateSet('nmm85','nmm821','nmm300', 'nmm301', 'nmm2012', 'nmm3012', 'nmm82')]$nmm_ver = "nmm85"
)
$ScriptName = $MyInvocation.MyCommand.Name
$Host.UI.RawUI.WindowTitle = "$ScriptName"
$Builddir = $PSScriptRoot
$Logtime = Get-Date -Format "MM-dd-yyyy_hh-mm-ss"
New-Item -ItemType file "$Builddir\$ScriptName$Logtime.log"

$Domain = (get-addomain).name
$Domain = $env:USERDOMAIN
Write-Verbose $Domain

.$Builddir\test-sharedfolders.ps1
$Setuppath = "\\vmware-host\Shared Folders\Sources\$nmm_ver\win_x64\networkr\setup.exe"
.$Builddir\test-setup -setup Exchange -setuppath $Setuppath
$Setuppath = "\\vmware-host\Shared Folders\Sources\$nmm_ver\win_x64\networkr\"
.$Builddir\test-setup -setup NMM -setuppath $Setuppath


start-process -filepath "$Setuppath" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmm.log' -Wait
start-process -filepath "$Setuppath" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmmglr.log NW_INSTALLLEVEL=200 REBOOTMACHINE=0 NW_GLR_FEATURE=1 WRITECACHEDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs" MOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs\NetWorker Virtual File System" HYPERVMOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp" SETUPTYPE=Install"' -Wait
if ($Nmm_ver -lt 'nmm85')
{
start-process -filepath "$Setuppath" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmm.log' -Wait
start-process -filepath "$Setuppath" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmmglr.log NW_INSTALLLEVEL=200 REBOOTMACHINE=0 NW_GLR_FEATURE=1 WRITECACHEDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs" MOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs\NetWorker Virtual File System" HYPERVMOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp" SETUPTYPE=Install"' -Wait
}
else
{
Write-Warning "trying nwvss install"
if ($setup = Get-ChildItem "\\vmware-host\shared folders\Sources\$nmm_ver\win_x64\networkr\nwvss.exe")
{
Start-Process -Wait -FilePath "$($Setup.fullname)" -ArgumentList "/s /q /log `"C:\scripts\NMM_nw_install_detail.log`" InstallLevel=200 RebootMachine=0 EnableSSMS=1 EnableSSMSBackupTab=1 EnableSSMSScript=1 NwGlrFeature=1 EnableClientPush=1 WriteCacheFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\nwfs`" MountPointFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\nwfs\NetWorker Virtual File System`" BBBMountPointFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\BBBMountPoint`" SetupType=Install"
}
else
{
Write-Error "Networker Setup File could not be elvaluated"
}
}
if ($PSCmdlet.MyInvocation.BoundParameters["verbose"].IsPresent)
{
Pause
}
Binary file modified Scripts/Clone-Node.ps1
Binary file not shown.
2 changes: 1 addition & 1 deletion Scripts/Exchange/exchange.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ $Setuppath = "\\vmware-host\Shared Folders\Sources\E2013$ex_cu\Setup.exe"


.$Setuppath /mode:Install /role:ClientAccess,Mailbox /OrganizationName:"labbuildr" /IAcceptExchangeServerLicenseTerms /MdbName:$DB1 /DbFilePath:M:\DB1\DB1.edb /LogFolderPath:N:\DB1
New-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce -Name $ScriptName -Value "$PSHOME\powershell.exe -Command `"New-Item -ItemType File -Path c:\scripts\$ScriptName.pass`""
if ($PSCmdlet.MyInvocation.BoundParameters["verbose"].IsPresent)
{
Pause
}
New-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce -Name $ScriptName -Value "$PSHOME\powershell.exe -Command `"New-Item -ItemType File -Path c:\scripts\$ScriptName.pass`""
Restart-Computer
Binary file modified Scripts/Exchange/exchange_post.ps1
Binary file not shown.
8 changes: 7 additions & 1 deletion Scripts/Exchange/exchange_pre.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
https://community.emc.com/blogs/bottk/2014/06/16/announcement-labbuildr-released
#>
#requires -version 3

[CmdletBinding()]
param(
)

$ScriptName = $MyInvocation.MyCommand.Name
$Host.UI.RawUI.WindowTitle = "$ScriptName"
Expand All @@ -19,3 +21,7 @@ New-Item -ItemType file "$Builddir\$ScriptName$Logtime.log"
.'\\vmware-host\shared Folders\sources\UcmaRuntimeSetup.exe' /passive /norestart
c:\scripts\FilterPack64bit.exe /passive /norestart
c:\scripts\filterpack2010sp1-kb2460041-x64-fullfile-en-us.exe /passive /norestart
if ($PSCmdlet.MyInvocation.BoundParameters["verbose"].IsPresent)
{
Pause
}
33 changes: 27 additions & 6 deletions Scripts/Exchange/nmm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#requires -version 3
[CmdletBinding()]
param(
[ValidateSet('nmm821','nmm300', 'nmm301', 'nmm2012', 'nmm3012', 'nmm82')]$nmm_ver = "nmm821"
[ValidateSet('nmm85','nmm821','nmm300', 'nmm301', 'nmm2012', 'nmm3012', 'nmm82')]$nmm_ver = "nmm85"
)
$ScriptName = $MyInvocation.MyCommand.Name
$Host.UI.RawUI.WindowTitle = "$ScriptName"
Expand All @@ -21,10 +21,31 @@ $Domain = $env:USERDOMAIN
Write-Verbose $Domain

.$Builddir\test-sharedfolders.ps1
$Setuppath = "\\vmware-host\Shared Folders\Sources\$nmm_ver\win_x64\networkr\setup.exe"
$Setuppath = "\\vmware-host\Shared Folders\Sources\$nmm_ver\win_x64\networkr\"
.$Builddir\test-setup -setup NMM -setuppath $Setuppath

$argumentlist = '/s /v" /qn /l*v c:\scripts\nmm.log RMEXCHDOMAIN='+$Domain+' RMEXCHUSER=NMMBackupUser RMEXCHPASSWORD=Password123! RMCPORT=6730 RMDPORT=6731"'
start-process -filepath "$Setuppath" -ArgumentList $argumentlist -wait
#| out-host
# start-process -filepath "\\vmware-host\Shared Folders\Sources\$nmm_ver\win_x64\networkr\setup.exe" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmmglr.log NW_INSTALLLEVEL=200 REBOOTMACHINE=0 NW_GLR_FEATURE=1 WRITECACHEDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs" MOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs\NetWorker Virtual File System" HYPERVMOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp" SETUPTYPE=Install"' -Wait



if ($Nmm_ver -lt 'nmm85')
{

$argumentlist = '/s /v" /qn /l*v c:\scripts\nmm.log RMEXCHDOMAIN='+$Domain+' RMEXCHUSER=NMMBackupUser RMEXCHPASSWORD=Password123! RMCPORT=6730 RMDPORT=6731"'
start-process -filepath "$Setuppath\setup.exe" -ArgumentList $argumentlist -wait
}
else
{
Write-Warning "trying nwvss install"
if ($setup = Get-ChildItem "\\vmware-host\shared folders\Sources\$nmm_ver\win_x64\networkr\nwvss.exe")
{
Start-Process -Wait -FilePath "$($Setup.fullname)" -ArgumentList "/s /q /log `"C:\scripts\NMM_nw_install_detail.log`" InstallLevel=200 RebootMachine=0 NwGlrFeature=1 EnableClientPush=1 WriteCacheFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\nwfs`" MountPointFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\nwfs\NetWorker Virtual File System`" BBBMountPointFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\BBBMountPoint`" RMEXCHDOMAIN=$Domain RMEXCHUSER=NMMBackupUser RMEXCHPASSWORD=Password123! SetupType=Install"
}
else
{
Write-Error "Networker Setup File could not be elvaluated"
}
}
if ($PSCmdlet.MyInvocation.BoundParameters["verbose"].IsPresent)
{
Pause
}
5 changes: 5 additions & 0 deletions Scripts/Exchange/user.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ Set-TransportConfig -MaxSendSize 50MB
New-Item -ItemType Directory $AttachDir
Extract-Zip c:\scripts\attachements.zip $AttachDir
$Attachement = Get-ChildItem -Path $AttachDir -file -Filter *microsoft*release-notes*
$RoleGroup = "EMC NMM Exchange Admin Roles"
$Roles = ("Database Copies", "Databases", "Disaster Recovery", "Mailbox Import Export", "Mail Recipient Creation", "Mail Recipients", "View-Only Configuration", "View-Only Recipients")
New-RoleGroup -Name $RoleGroup -DisplayName $RoleGroup -Members $BackupAdmin -Roles $Roles -Description "This role group allows its users to perform database recovery and GLR"
Add-RoleGroupMember "Discovery Management" –Member $BackupAdmin
Get-MailboxDatabase | Set-MailboxDatabase -CircularLoggingEnabled $false
New-Item -ItemType Directory -Path R:\rdb
Expand All @@ -65,6 +68,8 @@ Enable-Mailbox -Identity $BackupAdmin
New-ManagementRoleAssignment -Role "Databases" -User $BackupAdmin
Send-MailMessage -From $SenderSMTP -Subject $Subject -To "$BackupAdmin$maildom" -Body $Body -Attachments $Attachement.FullName -DeliveryNotificationOption None -SmtpServer $Smtpserver -WarningAction SilentlyContinue -ErrorAction SilentlyContinue
get-ExchangeServer | add-adpermission -user $BackupAdmin -accessrights ExtendedRight -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin


if (Get-DatabaseAvailabilityGroup){
$DAGDatabase = Get-MailboxDatabase | where ReplicationType -eq Remote
$Database = $DAGDatabase.Name}
Expand Down
34 changes: 27 additions & 7 deletions Scripts/HyperV/nmm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,41 @@
#requires -version 3
[CmdletBinding()]
param(
[ValidateSet('nmm821','nmm300', 'nmm301', 'nmm2012', 'nmm3012', 'nmm82')]$nmm_ver = "nmm821"
[ValidateSet('nmm85','nmm821','nmm300', 'nmm301', 'nmm2012', 'nmm3012', 'nmm82')]$nmm_ver = "nmm85"
)
$ScriptName = $MyInvocation.MyCommand.Name
$Host.UI.RawUI.WindowTitle = "$ScriptName"
$Builddir = $PSScriptRoot
$Logtime = Get-Date -Format "MM-dd-yyyy_hh-mm-ss"
New-Item -ItemType file "$Builddir\$ScriptName$Logtime.log"




$Domain = $env:USERDOMAIN
Write-Verbose $Domain

.$Builddir\test-sharedfolders.ps1
$Setuppath = "\\vmware-host\Shared Folders\Sources\$nmm_ver\win_x64\networkr\setup.exe"
$Setuppath = "\\vmware-host\Shared Folders\Sources\$nmm_ver\win_x64\networkr\"
.$Builddir\test-setup -setup NMM -setuppath $Setuppath

start-process -filepath "$Setuppath" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmm.log"' -wait # -verb "RunAs" | Out-Host
start-process -filepath "$Setuppath" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmmglr.log NW_INSTALLLEVEL=200 REBOOTMACHINE=0 NW_GLR_FEATURE=1 WRITECACHEDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs" MOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs\NetWorker Virtual File System" HYPERVMOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp" SETUPTYPE=Install"' -wait # -verb "RunAs" | Out-Host


if ($Nmm_ver -lt 'nmm85')
{
start-process -filepath "$Setuppath" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmm.log"' -wait # -verb "RunAs" | Out-Host
start-process -filepath "$Setuppath" -ArgumentList '/s /v" /qn /l*v c:\scripts\nmmglr.log NW_INSTALLLEVEL=200 REBOOTMACHINE=0 NW_GLR_FEATURE=1 WRITECACHEDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs" MOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp\nwfs\NetWorker Virtual File System" HYPERVMOUNTPOINTDIR="C:\Program Files\EMC NetWorker\nsr\tmp" SETUPTYPE=Install"' -wait # -verb "RunAs" | Out-Host
}
else
{
Write-Warning "trying nwvss install"
if ($setup = Get-ChildItem "\\vmware-host\shared folders\Sources\$nmm_ver\win_x64\networkr\nwvss.exe")
{
Start-Process -Wait -FilePath "$($Setup.fullname)" -ArgumentList "/s /q /log `"C:\scripts\NMM_nw_install_detail.log`" InstallLevel=200 RebootMachine=0 NwGlrFeature=1 EnableClientPush=1 WriteCacheFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\nwfs`" MountPointFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\nwfs\NetWorker Virtual File System`" BBBMountPointFolder=`"C:\Program Files\EMC NetWorker\nsr\tmp\BBBMountPoint`" SetupType=Install"
}
else
{
Write-Error "Networker Setup File could not be elvaluated"
}
}
if ($PSCmdlet.MyInvocation.BoundParameters["verbose"].IsPresent)
{
Pause
}
58 changes: 44 additions & 14 deletions Scripts/NW/nwserver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#requires -version 3
[CmdletBinding()]
param(
[ValidateSet('nw8211','nw821','nw8205','nw8204','nw8203','nw8202','nw82','nw8116','nw8115','nw8114', 'nw8113','nw8112', 'nw811', 'nw8105','nw8104','nw8102', 'nw81', 'nwunknown')]$NW_ver = "nw821"
[ValidateSet('nw85','nw8211','nw821','nw8205','nw8204','nw8203','nw8202','nw82','nw8116','nw8115','nw8114', 'nw8113','nw8112', 'nw811', 'nw8105','nw8104','nw8102', 'nw81', 'nwunknown')]$NW_ver = "nw85"

)
$ScriptName = $MyInvocation.MyCommand.Name
Expand All @@ -18,15 +18,13 @@ $Builddir = $PSScriptRoot
$Logtime = Get-Date -Format "MM-dd-yyyy_hh-mm-ss"
$Logfile = New-Item -ItemType file "$Builddir\$ScriptName$Logtime.log"
############
$Password = "Password123!"
$dbusername = "postgres"
Set-Content -Path $Logfile $MyInvocation.BoundParameters
Write-Verbose "Setting Up SNMP"
Add-WindowsFeature snmp-service -IncludeAllSubFeature -IncludeManagementTools
Set-Service SNMPTRAP -StartupType Automatic
Start-Service SNMPTRAP




Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\SNMP\Parameters -Name "EnableAuthenticationTraps" -Value 0
Remove-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\PermittedManagers -Name "1" -Force
New-Item -Path HKLM:\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\TrapConfiguration -Force
Expand All @@ -37,18 +35,50 @@ New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\SNMP\Parameters
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\RFC1156Agent -Name "sysContact" -PropertyType "string" -Value '@Hyperv_guy' -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ValidCommunities -Name "networker" -PropertyType "dword" -Value 8 -Force


.$Builddir\test-sharedfolders.ps1
$Setuppath = "\\vmware-host\Shared Folders\Sources\$NW_ver\win_x64\networkr\setup.exe"
$Setuppath = "\\vmware-host\Shared Folders\Sources\$NW_ver\win_x64\networkr"
.$Builddir\test-setup -setup NWServer -setuppath $Setuppath

if ($NW_ver -lt 'nw85')
{
Start-Process -Wait -FilePath "$Setuppath\setup.exe" -ArgumentList ' /S /v" /passive /l*v c:\scripts\nwserversetup2.log INSTALLLEVEL=300 CONFIGFIREWALL=1 setuptype=Install"'
Start-Process -Wait -FilePath "$Setuppath\setup.exe" -ArgumentList '/S /v" /passive /l*v c:\scripts\nwserversetup2.log INSTALLLEVEL=300 CONFIGFIREWALL=1 NW_FIREWALL_CONFIG=1 setuptype=Install"'

$Setuppath = "\\vmware-host\Shared Folders\Sources\$NW_ver\win_x64\networkr\nmc\setup.exe"
.$Builddir\test-setup -setup NWConsole -setuppath $Setuppath
Start-Process -Wait -FilePath "$Setuppath" -ArgumentList '/S /v" /passive /l*v c:\scripts\nmcsetup2.log CONFIGFIREWALL=1 NW_FIREWALL_CONFIG=1 setuptype=Install"'

Start-Process -Wait -FilePath "$Setuppath" -ArgumentList ' /S /v" /passive /l*v c:\scripts\nwserversetup2.log INSTALLLEVEL=300 CONFIGFIREWALL=1 setuptype=Install"'
Start-Process -Wait -FilePath "$Setuppath" -ArgumentList '/S /v" /passive /l*v c:\scripts\nwserversetup2.log INSTALLLEVEL=300 CONFIGFIREWALL=1 NW_FIREWALL_CONFIG=1 setuptype=Install"'
Write-Verbose "Setting up NMC"
# Start-Process -Wait -FilePath "javaws.exe" -ArgumentList "-import -silent -system -shortcut -association http://localhost:9000/gconsole.jnlp"
# start-process http://localhost:9000/gconsole.jnlp

$Setuppath = "\\vmware-host\Shared Folders\Sources\$NW_ver\win_x64\networkr\nmc\setup.exe"
.$Builddir\test-setup -setup NWConsole -setuppath $Setuppath
Start-Process -Wait -FilePath "$Setuppath" -ArgumentList '/S /v" /passive /l*v c:\scripts\nmcsetup2.log CONFIGFIREWALL=1 NW_FIREWALL_CONFIG=1 setuptype=Install"'

}
else
{
Write-Warning "Installing Networker 8.5v Beta"
Write-Warning "evaluating setup version"
if ($setup = Get-ChildItem "\\vmware-host\shared folders\Sources\$NW_ver\win_x64\networkr\networker-*")
{
write-warning "creating postgres user"
$cn = [ADSI]"WinNT://$env:COMPUTERNAME"
$user = $cn.Create("User",$dbusername)
$user.SetPassword($Password)
$user.setinfo()
$user.description = "postgres networker user"
$user.SetInfo()
Write-Warning "Starting Install"
Start-Process -Wait -FilePath "$($Setup.fullname)" -ArgumentList "/s /v InstallLevel=300 ConfigureFirewall=1 StartServices=1 OptionGetNMC=1 DbUsername=$dbusername DbPassword=$Password AdminPassword=$Password KSFPassword=$Password TSFPassword=$Password"
# Start-Process -Wait -FilePath "$($Setup.fullname)" -ArgumentList "/s /v /q /l InstallLevel=300 ConfigureFirewall=1 OptionGetNMC=1 DbPassword=$Password AdminPassword=$Password KSFPassword=$Password TSFPassword=$Password"
}
else
{
Write-Error "Networker Setup File fould not be elvaluated"
}
}
if ($PSCmdlet.MyInvocation.BoundParameters["verbose"].IsPresent)
{
Pause
}

Write-Verbose "Setting up NMC"
# Start-Process -Wait -FilePath "javaws.exe" -ArgumentList "-import -silent -system -shortcut -association http://localhost:9000/gconsole.jnlp"
# start-process http://localhost:9000/gconsole.jnlp
Binary file modified Scripts/Node/configurenode.ps1
Binary file not shown.
27 changes: 24 additions & 3 deletions Scripts/Node/nwclient.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#requires -version 3
[CmdletBinding()]
param(
[ValidateSet('nw8211','nw821','nw8205','nw8204','nw8203','nw8202','nw82','nw8116','nw8115','nw8114', 'nw8113','nw8112', 'nw811', 'nw8105','nw8104','nw8102', 'nw81', 'nwunknown')]$nw_ver = "nw821"
[ValidateSet('nw85','nw8211','nw821','nw8205','nw8204','nw8203','nw8202','nw82','nw8116','nw8115','nw8114', 'nw8113','nw8112', 'nw811', 'nw8105','nw8104','nw8102', 'nw81', 'nwunknown')]$nw_ver = "nw821"

)
$ScriptName = $MyInvocation.MyCommand.Name
Expand All @@ -20,9 +20,30 @@ New-Item -ItemType file "$Builddir\$ScriptName$Logtime.log"
############

.$Builddir\test-sharedfolders.ps1
$Setuppath = "\\vmware-host\Shared Folders\Sources\$NW_ver\win_x64\networkr\setup.exe"
$Setuppath = "\\vmware-host\Shared Folders\Sources\$NW_ver\win_x64\networkr\"
.$Builddir\test-setup -setup NetworkerClient -setuppath $Setuppath


if ($NW_ver -lt 'nw85')
{
start-process -filepath "$Setuppath\setup.exe" -ArgumentList '/S /v" /passive /l*v c:\scripts\nwclientsetup.log NW_INSTALLLEVEL=100 NW_FIREWALL_CONFIG=1 INSTALLBBB=1 NWREBOOT=0 setuptype=Install"' -wait
}
else
{
Write-Warning "Installing Networker Client 8.5 Beta"
Write-Warning "evaluating setup version"
if ($setup = Get-ChildItem "\\vmware-host\shared folders\Sources\$NW_ver\win_x64\networkr\networker-*")
{
Write-Warning "Starting Install"
Start-Process -Wait -FilePath "$($Setup.fullname)" -ArgumentList "/s /v InstallLevel=100 ConfigureFirewall=1 StartServices=1 EnablePs=1 InstallBbb=1"
}
else
{
Write-Error "Networker Setup File could not be elvaluated"
}
}

start-process -filepath "$Setuppath" -ArgumentList '/S /v" /passive /l*v c:\scripts\nwclientsetup.log NW_INSTALLLEVEL=100 NW_FIREWALL_CONFIG=1 INSTALLBBB=1 NWREBOOT=0 setuptype=Install"' -wait
if ($PSCmdlet.MyInvocation.BoundParameters["verbose"].IsPresent)
{
Pause
}
Binary file modified labbuildr.ps1
Binary file not shown.

0 comments on commit 8302c06

Please sign in to comment.