Get-MSISource

Synopsis

Gets the registered network source or URLs for a product or patch.

Syntax

Get-MSISource [-ProductCode] <string> [-PatchCode <string>] [-UserSid <string>] [-UserContext <UserContexts>] [<CommonParameters>]

Description

Windows Installer products and patches can have zero or more registered locations that direct Windows Installer where to look for package source. This cmdlet will enumerate those locations registered to a product or patch.

Parameters

-PatchCode <String>

The patch code for a patch.

Required? false
Position named
Default value|
Accepts pipeline input? true (ByPropertyName)
Accept wildcard charactrs? false

-ProductCode <String>

The ProductCode for a product or applied patch.

Required? true
Position 0
Default value|
Accepts pipeline input? true (ByPropertyName)
Accept wildcard charactrs? false

-UserContext <Microsoft.Deployment.WindowsInstaller.UserContexts>

The user context for a product or patch.

Required? false
Position named
Default value All
Accepts pipeline input? true (ByPropertyName)
Accept wildcard charactrs? false

-UserSid <String>

The user SID for a product or patch.

Required? false
Position named
Default value|
Accepts pipeline input? true (ByPropertyName)
Accept wildcard charactrs? false

Outputs

  • Microsoft.Tools.WindowsInstaller.SourceInfo: Source information for an installed product.
  • Microsoft.Tools.WindowsInstaller.PatchSourceInfo: Source information for an applied patch.

Examples

Example 1

get-msiproductinfo | get-msisource
Gets the registered source for all installed products on the machine.

Related Links


Last edited Dec 26, 2014 at 7:33 AM by heaths, version 1

Comments

No comments yet.