PV Drivers Version And Upgrade- AWS System Manager

Subhasis Ray
2 min readJul 10, 2020

Origin of Post

We can get to know the PV drivers version for all the Windows instances running in your inventory. For that we first attach the instance to System manager. After that choose below AWS-RunPowerShellScript

Then write below command in the commands box

Get-WmiObject -Class Win32_Product | where Name -eq "AWS PV Drivers" | select Name, Version

Then choose the instances and run the command. You can put the out put to Cloudwatch to search the current versions with AWS PV Drivers

After that you can check your application pool up-time status by running some below sample commands

Get-IISAppPool Get-Process (Get-Process -Name <process_name>).StartTime

If your PV drivers is not upgraded then you can follow below steps to upgrade from System manager form State Manger.

  • Select State manager and Create Association.
  • After that in Association name Field Give name.
  • Afterwards Select Document list, choose AWS-ConfigureAWSPackage.

In Parameters, choose Install from the Action list.

For Name, enter AWSPVDriver. You can give respective version in Version field or else in case of empty it will take latest.

In Target section Choose instances manually as a Target Selection and select the instances which you want to upgrade the PV driver. In Schedule Choose NO Schedule Option.

In Advanced, choose Write to S3 or CLoudwatch if you want to write association details to a S3 bucket or Cloudwatch Log group.

Choose Create Association.

Originally published at http://theleadcoder.wordpress.com on July 10, 2020.

--

--