mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
個人BLOG
it developer
  1. Main page
  2. M365
  3. Main content

connect vm to log analytics workspace

2020-11-18 113hotness 0likes 0comments

https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/oms-windows

PowerShell deployment

The Set-AzVMExtension command can be used to deploy the Log Analytics agent virtual machine extension to an existing virtual machine. Before running the command, the public and private configurations need to be stored in a PowerShell hash table.

PowerShell
$PublicSettings = @{"workspaceId" = "myWorkspaceId"}
$Prot

Tag: Nothing
Last updated:2020-11-18

mikebai

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang