Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ObjectPath = "/Dell/Sub1"
$ApplicationsInFolder = Get-WmiObject -Namespace "ROOT\SMS\Site_PS1" `
-Query "select * from SMS_ApplicationLatest where ObjectPath = '$ObjectPath'"
$ApplicationsInFolder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.