Archive

Posts Tagged ‘windows’

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

Stop ":Zone.Identifier:$DATA" files from being created…

  1. … by running gpedit.msc as admin and setting "user configuration / administrative templates / windows components/ attachment manager / "Do not preserve zone information in file attachments" to "Enabled         No. "
    1. I observed these files in the drive my virtualbox win 8.shares with the linux host.
    2. The answer is out there , of course,  just not with all the search terms. A more thorough security discussion is also available.
    3. Just seems not applicable to a share what virtualbox makes appear as a network folder to Windows while it really is not, which causes also other misleading security warnings also : image

How to find your computer’s name

  1. Right click on “my computer” on desktop,
  2. or on “[My] computer” on start menu,
  3. and clicik “Properties”image
  4. or hold the windows key and press “pause /break” on upper right,
  5. in the window that comes up (tab computer name on XP), you can see the name:
    image

More disruptive recommendations to downgrade to colorscheme basic on lab PCs despite Themeswitcher?

  1. Is this maybe what happens when Themeswitcher crashes: While the desktop background still gets changed, the Colorscheme does not get set to Basic? How to avoid the crashing FileIOException? What fileIO may a colorscheme change require?
  2. image
  3. image
  4. Disruption is the least of the problem: The warning comes up when computers become dangerously slow. In the past, they have become disfunctional during these episodues and needed to be power-cycled. This has resulted in loss of assignment and assessment materials.

Protected: How to get rid of themeswitcher appcrashes on Lab pcs?

2014/04/02 Enter your password to view comments.

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

How to manage balance on stereo audio using Audacity, Sanako student recorder, or any audio player on Windows

  1. For language lab use, stereo is more important than usual, since the channels may carry source versus translation/interpretation, L1 versus L2, teacher versus student, model versus imitation and so forth.
  2. You can choose which channel to listen to by adjusting the balance for stereo playback.
  3. In the Sanako Student recorder (free for all), click here: image
  4. In Audacity, click here:: image
  5. From any other player on Windows, hold Win-key and press R, type mmsys.cpl, on tab playback, double click the speaker you are outputting to, and  on tab levels, change “Balance”: image

Input languages missing on PC21 to PC31

  1. I only had a chance to check the PC’s in the title.
  2. This is the size of a good language bar: CAM05715
  3. These PCs are missing input languages when I am logged in:
  4. CAM05714CAM05709CAM05716CAM05717CAM05720
  5. my phone has a poor camera, so this needs double checking:
    1. looks like pc29: CAM05719
    2. unclear which, but appears to be in 2nd row: CAM05708