Using Console
Using CLI
<vm-name>
with the name of the virtual machine that needs endpoint protection installed and <resource-group-name>
with the name of the resource group that the virtual machine is in.
Using Python
compute_client.virtual_machines.list_all()
method to get a list of all the virtual machines in your subscription. You can then iterate through this list and check if Endpoint Protection is installed on each virtual machine. You can use the following code snippet to do this:compute_client.virtual_machines.extensions.create_or_update()
method to install it. You can use the following code snippet to do this: