You accomplish this move with the movecontent command of
WSUSutil.exe, a command-line tool that is copied to the file system of
the WSUS server during WSUS Setup. By default, Setup copies WSUSutil.exe
to the following location:
WSUSInstallationDrive:\Program Files\Microsoft Windows Server Update Services\Tools
You
must be a member of the local Administrators group on the WSUS server
to use the movecontent command of WSUSutil.exe, and these operations can
only be run from the WSUS server itself which must be a 32-bit
platform. You must also create the new path for local WSUS update
storage prior to using WSUSutil.exe.
The movecontent command
takes an optional -skipcopy parameter which enables you to change the
location of local WSUS update storage without copying any files. To
change the location of local WSUS update storage complete the following
steps:
1. Click Start, and then click Run.
2. In the Open box, type cmd, and then click OK.
3. At the command prompt, navigate to the directory that contains WSUSutil.exe.
4. Type the following, and then press ENTER:
wsusutil.exe movecontent contentpath logfile [-skipcopy]
For
example, if D:\WSUS1 is the new path for local WSUS update storage,
D:\move.log is the path to the log file, and you wanted to copy the old
files to the new location, you would type:
wsusutil.exe movecontent D:\WSUS1\ D:\move.log
Total Views
Wednesday, October 10, 2012
Tuesday, October 9, 2012
SCCM - Collection Query (Computers with VS 2008 Installed)
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Name in (select distinct SMS_G_System_COMPUTER_SYSTEM.Name from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Visual Studio 2008%")
SCCM - Device Collection Query (Domain OU Membership)
select
SMS_R_SYSTEM.ResourceID,
SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemOUName = "DOMAIN/OU"
SMS_R_SYSTEM.ResourceID,
SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemOUName = "DOMAIN/OU"
Subscribe to:
Posts (Atom)