Entradas

Mostrando entradas de marzo, 2010

Search, Download and Install Updates in Windows Server 2008 Server Core

This is a VBS script to Download and install all available updates. Before you attempt to run this sample, note the following: WUA must be installed on the computer. For more information about how to determine the version of WUA that is installed, see Determining the Current Version of WUA . The sample does not provide its own user interface. WUA prompts the user to restart the computer if an update requires a restart. The sample can download updates only by using WUA. It cannot download updates from a Software Update Services (SUS) 1.0 server. Running this sample requires Windows Script Host (WSH). For more information about WSH, see the WSH section of the Platform Software Development Kit (SDK). If the sample is copied to a file named WUA_SearchDownloadInstall.vbs, you can run the sample by opening a Command Prompt window and typing the following command at the command prompt. cscript C:\WUA_SearchDownloadInstall.vbs Script:

Maximum Message Size in Outlook Web Access in Exchange 2007

  If you receive a message on top of your browser: The files <file names> were not attached because they exceed the maximum size limit of <size limit> megabytes (MB) for attachments. Configure message size limits for you organization. Start the Exchange Management Shell. Type the following command: Set-TransportConfig -MaxSendSize Size <value> For example, to set the maximum message size to 10 MB, type: Set-TransportConfig -MaxSendSize 10MB . Restart Microsoft Exchange Information Store service to apply change. To configure Outlook Web Access to allow content that is equal to the size of the maximum message size on a Windows Server 2008-based computer At a command prompt, type the following: cd %windir%\system32\inetsrv Type the following command: appcmd set config "Default Web Site/owa" -section:requestFiltering -requestLimits.maxAllowedContentLe

Automated or Schedule a Backup for ISA Server 2006

Imagen
To save your backup of ISA Server 2006 in other server you need a VBS script, a batch file and schedule a job, use the following steps: Open Notepad and paste: Dim fileName Dim WSHNetwork Dim shareName: shareName = WScript.Arguments(0) Dim xmldom : set xmldom = CreateObject("Msxml2.DOMDocument") Dim fpc : set fpc = WScript.CreateObject("Fpc.Root") Dim array : set array = fpc.GetContainingArray set WSHNetwork = CreateObject("WScript.Network") fileName=shareName & "\" & WSHNetwork.ComputerName & "-" & Year(Now) & "-" & _ Month(Now) & "-" & Day(Now) & ".xml" array.Export xmldom, 0 xmldom.save(fileName) Save your script, for example: c:\scripts\yourfile.vbs Create a batch file: cscript C:\Scripts\yourfile.vbs \\OtherServer\MySharedFolder Schedule the batch file: