Retrieving platforms

Retrieves the list of supported platforms of a package or determines available platforms.


Examples:


Hint: The execution of these examples requires a connected PowerShell drive.


Retrieve the supported platforms of the software package "Notepad++ 8.5.1" from the folder "Global Software Library\Application Library\Open Source":


Get-EmdbSoftwarePlatform -Software "emdb:\rootDSE\Global Software Library\Application Library\Open Source\Notepad++ 8.5.1"


Retrieve all Notepad++ packages and determine the total supported platforms of these packages:


$MyPackages = Get-EmdbSoftwarePackage -Path emdb: -Name "Notepad++*"  -Recurse

Get-EmdbSoftwarePlatform -Software $MyPackages


Retrieve all software packages of the manufacturer "Adobe" and determine the individual supported platforms:


Get-EmdbSoftwarePackage -Recurse -Filter "Software.Vendor=Adobe" | ForEach-Object {Get-EmdbSoftwarePlatform -Software $_}


Identify all available software platforms in your DSM environment:


Get-EmdbSoftwarePlatform -ListAvailable


or alternatively:


Get-EmdbSoftwarePlatform -Platform "*"


To retrieve all Windows 10 platforms, optionally use the Name parameter:


Get-EmdbSoftwarePlatform -Name "Windows 10*"