Forum Discussion
7 years ago
Minor update - we found it was better to only do this for EC2 since for other devices it made it a bit harder to find things. I've updated the script above with the following on the third line (right after the $aws= line):
$ec2=$aws | Select-Object | where {$_.systemProperties.value -eq "AWS/EC2"}
Then update the foreach loop to use $ec2 instead of $aws and you will only update EC2 devices.
Related Content
- 3 months ago
- 10 months ago
- 7 months ago
- 2 years ago