This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# A rough script to wrap Adobe HyperDrive apps into pkgs for easier use in Munki. | |
# | |
# Requires at least AUSST 4. You must sync updates to a locally accessible file system for this script to work. | |
# | |
# Does not import into Munki by itself. You will need to manually copy the plist and DMG files into a repository. | |
# | |
# The package installers that are created contain an optional "install" item to remove previous versions. | |
# The munkiRemoveOlderVersions switch will create an option override to run this on install. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param | |
( | |
[string]$ComputerName = $env:ComputerName, | |
[string]$Class, | |
[string]$Manufacturer, | |
[string]$Name | |
) | |
$pnp = Get-WmiObject -Class "Win32_PNPEntity" -ComputerName $ComputerName |