Windows 7, Server 2008 R2 SP1
Public beta now available: Here
Deploying APP-V Client
As we migrate to Windows 7, we are deploying the APP-V client at the same time for future plans to move closer and closer to a VDI.
SWIFSDRIVE is the drive letter you want to make as your APP-V local cache drive. Make sure this does not conflict with any mapped network drives or any local drive letters.
You can also control this through Group Policy by importing the APP-V ADM template.
This also applies to the TS client.
setup.exe /s /v"/quiet /norestart /qn"0\"\" SWIFSDRIVE="L"
Managing Windows Internal Database MICROSOFT##SSEE
Old, but good. We, of course, have WSUS installed on our secondary site servers that act as SUP’s. We have one that likes to freak out constantly and fail to connect to SUSDB on the local server. If you ever need to connect into the WID to check permissions, etc, do this:
1) Download SQL Server Management Studio Express
2) When you launch the console, connect to \\.\pipe\mssql$microsoft##ssee\sql\query (You do not need to specify SERVER\INSTANCE, just copy that in and connect).
Excluding a collection
True-Up time! Sucks, right? That’s when you find out all of your reports from last year are useless because you have new products, new exclusions, new additions. Fun.
This is how you can exclude a collection from your True-Up results. In our case, we have many affiliate companies and one of them, being a Microsoft partner, performs their own True-Up. As such, we do not report them to our Microsoft reps. All machines belonging to that company are placed into their own collections and excluded. My example finds all 2008 Enterprise servers not in that affiliate’s collection.
SELECT distinct
SYS.Netbios_Name0,
SYS.AD_Site_Name0,
OS.Caption0
FROM
v_R_System SYS
INNER JOIN
v_GS_OPERATING_SYSTEM OS
ON
SYS.ResourceID = OS.ResourceID
WHERE
SYS.ResourceID NOT IN
(SELECT
ResourceID
FROM
v_FullCollectionMembership FCM
WHERE
(CollectionID = 'XXX000a6'))
AND
OS.Caption0 LIKE '%2008%enterprise%'
My Documents Folder Size
We are implementing My Docs folder redirection on our network (finally) and we needed to know how much space we needed to reserve on the Celerra drive stacks. This pulls information per site (in our case, per AD site). We also excluded PST files. From this report, you can really customize that any way you want. Ready for a big freaking number?
Select DISTINCT
COUNT(SF.FileName) AS 'Count',
SUM(SF.FileSize) AS 'Total Size',
AVG(SF.FileSize) AS 'Average File Size'
from
v_GS_SoftwareFile SF
join
v_R_System SYS
on
SF.ResourceID = SYS.ResourceID
WHERE
SF.FilePath LIKE '%documents%'
AND
SF.FileName NOT LIKE '%.pst'
AND
SYS.AD_Site_Name0 = 'HolyCrapUSA'