Monday, June 3, 2013

HP DL380 G5 server is no longer support by HP for VMware 5.1

HP_G5

Source:

http://h18004.www1.hp.com/products/servers/vmware/supportmatrix/hpvmware.html

Print Friendly and PDF
Share/Bookmark

Thursday, April 18, 2013

How to start the webpage when user logon by logon script (Handle both 32bits and 64bits Windows machine)

If Exist "C:\Program Files (x86)\" goto X64

start /MAX C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://intranet.abc.com

:X64

If NOT EXIST "C:\Program Files (x86)\" goto END

start /MAX "C:\PROGRA~1 (x86)\INTERN~1\IEXPLORE.EXE" http://intranet.abc.com

:END

Print Friendly and PDF
Share/Bookmark

Netlogon variable file path

If there are folder call “ABC” under Netlogon, the file path can be using the following format":

"%0\..\ABC\IT Support.url"

Example a file call “IT Support.url” under “\\xzy.com\netlogon\ABC” to "C:\Documents and Settings\All Users\Desktop\"

Copy /y "%0\..\ABC\IT Support.url" "C:\Documents and Settings\All Users\Desktop\"

Print Friendly and PDF
Share/Bookmark

Delete file last modified day over 30 days by PowerShell

$TargetFolder = "X:\30days"
$Childitems = Get-Childitem $TargetFolder -recurse |where {$_.attributes -ne "Directory"}
$mdate = Get-Date -format yyyyMMdd
foreach ($i in $Childitems)
{
    if ($i.CreationTime -lt ($(Get-Date).AddDays(-30)))
    {
Write-host $i.fullname -- $mdate
        Remove-Item $i.FullName -force -recurse

    }
}

Print Friendly and PDF
Share/Bookmark

Wednesday, April 17, 2013

Lync 2010 client (Lync online/Office 365) deployment by batch file

If Exist %systemroot%\share\%computername%.txt goto END
If Exist "C:\Program Files (x86)\" goto X64

Set ARCHITECTURE=x86

REM Install Microsoft Online Services Sign-in Assistant
if exist "C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services\MSOIDSVC.EXE" goto lync32
\\server_IP\Lync_Software\x86\msoidcli_32bit.msi /quiet

:lync32
REM Creating Lync and office suite Client folder on %systemroot%\share\
IF NOT EXIST "C:\Program Files\Microsoft Lync\communicator.exe" Copying Lync software to Lync Software folder on %systemroot%\share\
pushd "\\server_IP\Lync_Software\x86\"
XCOPY "*.*" "%systemroot%\share\Lync_Client\X86" /I /Y /Qlient\X86" MKDIR "%systemroot%\share\Lync_Client\X86"
"%systemroot%\share\Lync_Client\%ARCHITECTURE%\LyncSetup.exe" /install /silent
"%systemroot%\share\Lync_Client\%ARCHITECTURE%\Lync.msp" /quiet /norestart
Echo "Lync and Office clients Successfully installed" on %COMPUTERNAME% > %systemroot%\share\%Computername%.txt

:X64

If NOT EXIST "C:\Program Files (x86)\" goto END

Set ARCHITECTURE=x64

REM Install Microsoft Online Services Sign-in Assistant
if exist "C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services\MSOIDSVC.EXE" goto lync64
\\server_IP\Lync_Software\x64\msoidcli_64bit.msi /quiet

:lync64
REM Creating Lync Client folder on %systemroot%\share\
IF NOT EXIST "%systemroot%\share\Lync_Client\X64" MKDIR "%systemroot%\share\Lync_Client\X64"
REM Copying Lync software to Lync Software folder on %systemroot%\share\
pushd "\\server_IP\Lync_Software\x64\"
XCOPY "*.*" "%systemroot%\share\Lync_Client\X64" /I /Y /Q
"%systemroot%\share\Lync_Client\%ARCHITECTURE%\LyncSetup.exe" /install /silent
"%systemroot%\share\Lync_Client\%ARCHITECTURE%\Lync.msp" /quiet /norestart
Echo "Lync and Office clients Successfully installed" on %COMPUTERNAME% > %systemroot%\share\%Computername%.txt

:END


EXIT

Print Friendly and PDF
Share/Bookmark

Using PowerShell to enable or disable backup mode on EV 10.1

Enable backup mode

c:\windows\syswow64\windowspowershell\v1.0\powershell -psconsolefile "C:\Program Files (x86)\Enterprise Vault\evshell.psc1" -command "set-vaultstorebackupmode EVSITE sitename site"

* When the file level backup have been running on EV server (EV data folder: "Enterprise Vault Stores", "EV_CACHE", "EV_INDEX"), you will need to enable the backup mode before running the backup.

Disable backup mode

c:\windows\syswow64\windowspowershell\v1.0\powershell -psconsolefile "C:\Program Files (x86)\Enterprise Vault\evshell.psc1" -command "clear-vaultstorebackupmode EVSITE sitename site"

# When the file level backup have been complete on EV server, you will need to disable backup mode, otherwise the EV open datastore will become readonly.

Print Friendly and PDF
Share/Bookmark

Microsoft Windows Server on HP ProLiant servers and HP ProLiant server blades

As you may know that the HP Service Pack for ProLiant (SPP) replaces the Smart Update Firmware DVD and the ProLiant Support Packs (PSPs).

Before you install the Windows Server 2008 / 2012 to a HP 300 series or above server, you better check the following document to check the BIOS and firmware compatiblilty and also any recommendation from HP.

Implementing Microsoft® Windows Server® 2008 R2 Service Pack 1 on HP ProLiant and Integrity servers

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02778975/c02778975.pdf

Implementing Microsoft Windows Server 2012 on HP ProLiant servers and HP ProLiant server blades, 3rd edition

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c03305495/c03305495.pdf

HP Service Pack for ProLiant Documentation

http://h18004.www1.hp.com/products/servers/service_packs/documentation/index.html

Remark: ProLiant 100 series foundation products are treated differently and are not part of Insight Foundation Suite for ProLiant. Below are the links for the foundation products specific to ProLiant 100 series servers:

  • HP ProLiant Easy Set-up CDs
  • HP LO100i
  • Easy Set-up CDs are provided for all ProLiant 100 series G6 servers and most 100 series G7 servers, with some exceptions (DL165 G6, ML110 G7 and DL120 G7).  Initial drivers for these servers are included on the Easy Set-up CD that ship with these servers and are also found on HP SC (HP Support Center) as the Easy Set-up CD ISO.

    Print Friendly and PDF
    Share/Bookmark