Thursday, March 14, 2013

To Upgrade SCCM 2012 secondary site to a Service Pack 1

  Ensure you complete these go through with this ms link
  1. Log on to the Secondary site and start the SQL Server Configuration Manager

  1. Select SQL Server Network Configuration, Protocols for CONFIGMGRSEC.

  1. Right click TCP/IP and click Properties.

  1. Select the IP Addresses tab and scroll down to IPALL. Delete the entry in TCP Dynamic Ports and click OK. When prompted with a warning, click Yes.

  1. Select SQL Server Services, right-click SQL Server, and click Restart.

  1. Log on to the primary site server and start the ConfigMgr administrator console.

  1. Navigate to the Administration workspace, and select Site Configuration and Sites.

  1. Select the secondary site server and click Upgrade on the ribbon

  1. Click Yes on the site upgrade warning.

  1. Click Show Install status on the ribbon. Click the Refresh button a few times to receive real-time information about the upgrade process.

10.    Click OK to close the installation status

Monday, March 11, 2013

PowerShell script to check WDS Service status against of List of servers.

Below is a PowerShell script, this will list WDS Service status against of List of servers.

Below is a powershell script will list WDS Service status againest of List of servers.

$InPutComputersList = get-content "c:\MyScripts\list.txt"
$OutPutFile = "c:\MyScripts\WDS_ServiceStatus.csv"
$NotReachble = "c:\MyScripts\NonPingSystems.csv"
$listResult = @()
foreach($ForEverComputerIntheTextFilelinebyLine in $InPutComputersList) {
if (test-path \$ForEverComputerIntheTextFilelinebyLine\c$\windows\write.exe)
$objService = Get-Service WDSServer -ComputerName $ForEverComputerIntheTextFilelinebyLine | select machinename, status, name, displayname

$objResult = New-Object PSObject -Property @{
ComputerName = $ForEverComputerIntheTextFilelinebyLine
ServiceStatus = $objService.Status
ServiceDisplayName = $objService.DisplayName
ServiceName = $objService.Name

$listResult += $objResult
Write-Output "$ForEverComputerIntheTextFilelinebyLine,NotReachable" | out-file $NotReachble -append
$listResult| Export-Csv -Path $OutPutFile