export const frontMatter = {
'external help file': 'Keldor-help.xml',
'Module Name': 'Keldor',
'online version': 'https://docs.keldor.dev/powershell/keldor/Get-InstalledProgram',
schema: '2.0.0'
};
export const contentTitle = 'Get-InstalledProgram';
export {default as metadata} from '@site/.docusaurus/docusaurus-plugin-content-docs/powershell/site-docs-powershell-keldor-get-installed-program-md-983.json'
export const assets = {
};
import {Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs} from "react/jsx-runtime";
import {useMDXComponents as _provideComponents} from "@mdx-js/react";
export const toc = [{
"value": "SYNOPSIS",
"id": "synopsis",
"level": 2
}, {
"value": "SYNTAX",
"id": "syntax",
"level": 2
}, {
"value": "DESCRIPTION",
"id": "description",
"level": 2
}, {
"value": "EXAMPLES",
"id": "examples",
"level": 2
}, {
"value": "EXAMPLE 1",
"id": "example-1",
"level": 3
}, {
"value": "EXAMPLE 2",
"id": "example-2",
"level": 3
}, {
"value": "EXAMPLE 3",
"id": "example-3",
"level": 3
}, {
"value": "EXAMPLE 4",
"id": "example-4",
"level": 3
}, {
"value": "EXAMPLE 5",
"id": "example-5",
"level": 3
}, {
"value": "EXAMPLE 6",
"id": "example-6",
"level": 3
}, {
"value": "PARAMETERS",
"id": "parameters",
"level": 2
}, {
"value": "-ComputerName",
"id": "-computername",
"level": 3
}, {
"value": "-Property",
"id": "-property",
"level": 3
}, {
"value": "-Confirm",
"id": "-confirm",
"level": 3
}, {
"value": "-WhatIf",
"id": "-whatif",
"level": 3
}, {
"value": "CommonParameters",
"id": "commonparameters",
"level": 3
}, {
"value": "INPUTS",
"id": "inputs",
"level": 2
}, {
"value": "OUTPUTS",
"id": "outputs",
"level": 2
}, {
"value": "NOTES",
"id": "notes",
"level": 2
}, {
"value": "RELATED LINKS",
"id": "related-links",
"level": 2
}];
function _createMdxContent(props) {
const _components = {
a: "a",
code: "code",
h1: "h1",
h2: "h2",
h3: "h3",
header: "header",
p: "p",
pre: "pre",
..._provideComponents(),
...props.components
};
return _jsxs(_Fragment, {
children: [_jsx(_components.header, {
children: _jsx(_components.h1, {
id: "get-installedprogram",
children: "Get-InstalledProgram"
})
}), "\n", _jsx(_components.h2, {
id: "synopsis",
children: "SYNOPSIS"
}), "\n", _jsx(_components.p, {
children: "Displays installed programs on a computer."
}), "\n", _jsx(_components.h2, {
id: "syntax",
children: "SYNTAX"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-InstalledProgram [[-ComputerName] <String[]>] [[-Property] <String[]>] [-WhatIf] [-Confirm]\n []\n"
})
}), "\n", _jsx(_components.h2, {
id: "description",
children: "DESCRIPTION"
}), "\n", _jsx(_components.p, {
children: "Displays a list of installed programs on a local or remote computer by querying the registry."
}), "\n", _jsx(_components.h2, {
id: "examples",
children: "EXAMPLES"
}), "\n", _jsx(_components.h3, {
id: "example-1",
children: "EXAMPLE 1"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-InstalledProgram\n"
})
}), "\n", _jsx(_components.p, {
children: "Shows the installed programs on the local computer."
}), "\n", _jsx(_components.h3, {
id: "example-2",
children: "EXAMPLE 2"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-InstalledProgram -ComputerName COMPUTER1\n"
})
}), "\n", _jsx(_components.p, {
children: "Shows the installed programs on the remote computer COMPUTER1."
}), "\n", _jsx(_components.h3, {
id: "example-3",
children: "EXAMPLE 3"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-InstalledProgram -ComputerName COMPUTER1,COMPUTER2\n"
})
}), "\n", _jsx(_components.p, {
children: "Shows the installed programs on the remote computers COMPUTER1 and COMPUTER2."
}), "\n", _jsx(_components.h3, {
id: "example-4",
children: "EXAMPLE 4"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-InstalledProgram (gc C:\Temp\computers.txt)\n"
})
}), "\n", _jsx(_components.p, {
children: "Shows the installed programs on the remote computers listed in the computers.txt file (each computer name on a new line.)"
}), "\n", _jsx(_components.h3, {
id: "example-5",
children: "EXAMPLE 5"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-InstalledProgram COMPUTER1 -Property InstallSource\n"
})
}), "\n", _jsx(_components.p, {
children: "Shows the installed programs on the remote computer COMPUTER1 and also shows the additional property InstallSource from the registry."
}), "\n", _jsx(_components.h3, {
id: "example-6",
children: "EXAMPLE 6"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-InstalledProgram COMPUTER1,COMPUTER2 -Property InstallSource,Comments\n"
})
}), "\n", _jsx(_components.p, {
children: "Shows the installed programs on the remote computers COMPUTER1 and COMPUTER2.\nAlso shows the additional properties InstallSource and Comments from the registry."
}), "\n", _jsx(_components.h2, {
id: "parameters",
children: "PARAMETERS"
}), "\n", _jsx(_components.h3, {
id: "-computername",
children: "-ComputerName"
}), "\n", _jsx(_components.p, {
children: "Specifies the name of one or more computers."
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-yaml",
children: "Type: String[]\nParameter Sets: (All)\nAliases: Host, Name, DNSHostName, Computer\n\nRequired: False\nPosition: 1\nDefault value: $env:COMPUTERNAME\nAccept pipeline input: True (ByPropertyName, ByValue)\nAccept wildcard characters: False\n"
})
}), "\n", _jsx(_components.h3, {
id: "-property",
children: "-Property"
}), "\n", _jsx(_components.p, {
children: "Will add additional properties to pull from the Uninstall key in the registry."
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-yaml",
children: "Type: String[]\nParameter Sets: (All)\nAliases:\n\nRequired: False\nPosition: 2\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"
})
}), "\n", _jsx(_components.h3, {
id: "-confirm",
children: "-Confirm"
}), "\n", _jsx(_components.p, {
children: "Prompts you for confirmation before running the cmdlet."
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-yaml",
children: "Type: SwitchParameter\nParameter Sets: (All)\nAliases: cf\n\nRequired: False\nPosition: Named\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"
})
}), "\n", _jsx(_components.h3, {
id: "-whatif",
children: "-WhatIf"
}), "\n", _jsx(_components.p, {
children: "Shows what would happen if the cmdlet runs.\nThe cmdlet is not run."
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-yaml",
children: "Type: SwitchParameter\nParameter Sets: (All)\nAliases: wi\n\nRequired: False\nPosition: Named\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"
})
}), "\n", _jsx(_components.h3, {
id: "commonparameters",
children: "CommonParameters"
}), "\n", _jsxs(_components.p, {
children: ["This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see ", _jsx(_components.a, {
href: "http://go.microsoft.com/fwlink/?LinkID=113216",
children: "about_CommonParameters"
}), "."]
}), "\n", _jsx(_components.h2, {
id: "inputs",
children: "INPUTS"
}), "\n", _jsx(_components.h2, {
id: "outputs",
children: "OUTPUTS"
}), "\n", _jsx(_components.h2, {
id: "notes",
children: "NOTES"
}), "\n", _jsx(_components.p, {
children: "Author: Skyler Hart\nCreated: Sometime prior to 2017-08\nLast Edit: 2020-08-19 23:03:32\nKeywords: Software, Programs, management"
}), "\n", _jsx(_components.h2, {
id: "related-links",
children: "RELATED LINKS"
}), "\n", _jsx(_components.p, {
children: _jsx(_components.a, {
href: "https://docs.keldor.dev",
children: "https://docs.keldor.dev"
})
})]
});
}
export default function MDXContent(props = {}) {
const {wrapper: MDXLayout} = {
..._provideComponents(),
...props.components
};
return MDXLayout ? _jsx(MDXLayout, {
...props,
children: _jsx(_createMdxContent, {
...props
})
}) : _createMdxContent(props);
}