Archive

Posts Tagged ‘imaging’

How to output a list of installed programs on Windows with PowerShell

A vanilla script, but including all Win32_Product class properties – a quick search found only a very basic version how to do this in PowerShell:

# to write a installed program listing to a CSV file - just adapt the output dir below
Get-WmiObject -Class Win32_Product |`
foreach{
$AssignmentType = $_.AssignmentType
$Caption = $_.Caption
$Description = $_.Description
$IdentifyingNumber = $_.IdentifyingNumber
$InstallDate = $_.InstallDate
$InstallDate2 = $_.InstallDate2
$InstallLocation = $_.InstallLocation
$InstallState = $_.InstallState
$HelpLink = $_.HelpLink
$HelpTelephone = $_.HelpTelephone
$InstallSource = $_.InstallSource
$Language = $_.Language
$LocalPackage = $_.LocalPackage
$Name = $_.Name
$PackageCache = $_.PackageCache
$PackageCode = $_.PackageCode
$PackageName = $_.PackageName
$ProductID = $_.ProductID
$RegOwner = $_.RegOwner
$RegCompany = $_.RegCompany
$SKUNumber = $_.SKUNumber
$Transforms = $_.Transforms
$URLInfoAbout = $_.URLInfoAbout
$URLUpdateInfo = $_.URLUpdateInfo
$Vendor = $_.Vendor
$WordCount = $_.WordCount
$Version = $_.Version

$Name | Select-Object `
@{n="AssignmentType";e={$AssignmentType}},
@{n="Caption";e={$Caption}},
@{n="Description";e={$Description}},
@{n="IdentifyingNumber";e={$IdentifyingNumber}},
@{n="InstallDate";e={$InstallDate}},
@{n="InstallDate2";e={$InstallDate2}},
@{n="InstallLocation";e={$InstallLocation}},
@{n="InstallState";e={$InstallState}},
@{n="HelpLink";e={$HelpLink}},
@{n="HelpTelephone";e={$HelpTelephone}},
@{n="InstallSource";e={$InstallSource}},
@{n="Language";e={$Language}},
@{n="LocalPackage";e={$LocalPackage}},
@{n="Name";e={$Name}},
@{n="PackageCache";e={$PackageCache}},
@{n="PackageCode";e={$PackageCode}},
@{n="PackageName";e={$PackageName}},
@{n="ProductID";e={$ProductID}},
@{n="RegOwner";e={$RegOwner}},
@{n="RegCompany";e={$RegCompany}},
@{n="SKUNumber";e={$SKUNumber}},
@{n="Transforms";e={$Transforms}},
@{n="URLInfoAbout";e={$URLInfoAbout}},
@{n="URLUpdateInfo";e={$URLUpdateInfo}},
@{n="Vendor";e={$Vendor}},
@{n="WordCount";e={$WordCount}},
@{n="Version";e={$Version}}
}| Export-Csv c:\temp\installed-programs.csv -NoTypeInformation

Output:

image

image

Windows XP user profiles copy to greyed out ?

  1. Problem:
    1. For all profiles, not only for the logged in profile… Not likely a permissions problem? I can delete
    2. 201202-copy-testuser-final
  2. Solution:
    1. “if you’ve ever been logged into a profile without rebooting you won’t be able to copy that profile either. So you might have to restart before you can copy the profile.”
    2. or use shutdown /r when connecting via MSTSC.

Protected: Windows 7 LRC image: The list

2013/06/21 Enter your password to view comments.

This content is password protected. To view it please enter your password below:

Tivoli TEM console connect error

  1. Problem: I seem to have lost the capability to connect to the TEM console from my Office PC, with this error: image
  2. Root cause : This error is due to these credentials: image
  3. Solution: add its to the email addy.

Export options in Tivoli Endpoint Manager

  1. You can batch export Baseline task sets by right-clicking the baseline and chooosing export from the context menu: image
  2. Choose a download location: image
  3. Open the BES file (which is an XML file) with MS-Excel for better human readability: image
  4. Especially interesting information (highlighted in red here) for your documentation (tracking, potentially troubleshooting…) includes the task “name3” and the underlying Actionscript.

Problem verifying MAC image

I unmounted nevertheless

Protected: Mac OS X Image management– the basics

2012/02/10 Enter your password to view comments.

This content is password protected. To view it please enter your password below: