Power Shell
27 TopicsPowershell script to find out Teams policies by users
Hey everyone, do you know if there is a way to run a script to find what Teams policies are assigned to what user? We have a private channel policy in place- I would like to find out a list of users that policy is assigned to. Also, if you delete a user from a custom policy does that user get the default policy? Thanks!109KViews2likes16CommentsHow to Calculate Total Number of Memory in Azure VM's
Dear Gurus I need your kind help. I have Azure account and I need to know how much memory I have total installed in all the Azure Cloud VM's. What I need below, which I took manually for 9 VM's in total there are 1000+ VMs' For the Cores information, I use below command but there is no MEMORY information in it. >Get-AzureRmVMUsage -Location WestUS But how can I get the Memory details I do not know.? Please help thanks. Regards Malik Adeel Imtiaz735Views1like0CommentsCreating Powerplans
Hello, I want to create a script using Powershell to set a default power plan. I already found something for the good old CMD but nothing yet for Powershell, so maybe you guys can help?! The Settings: Powerbutton: When I press Powerbutton: Shutdown - Shutdown When I press Sleepbutton: Nothing - Nothing When i close the lid: -Nothing -nothing Plan-Settings: Turn off Display: 15min - never Put it to sleep: Never - Never I would appreciate if you could give me some advice on how to use Powershell creating "Power-Plans". Greetings Yannik SchulzSolved8.6KViews1like7Comments