Forum Discussion
Sagar_Lad
Jan 04, 2021Brass Contributor
Check if autoshutdown feature and PIM is enabled for VMs in resource group using powershell/CLI
Hi All, I would like to know how to check if autoshutdown feature and PIM is enabled for VMs in resource group using powershell/CLI.
MawandaH
Jan 05, 2021Brass Contributor
Sagar_LadI am not entirely sure if that is 100% do-able, but for auto-shutdown, this should be attainable via the logs analytics for that VM or VMs, you'll probably need to turn on your logs and funnel them through analytics workspace and run queries from there.
PIM is an identity solution which if enabled and the correct assignment is allocated you may log in to your environment AAD, locate its tab and run the built-in queries to verify assignments in your Org.