User Profile
Oleg_A
Copper Contributor
Joined 6 years ago
User Widgets
Recent Discussions
Azure PowerShell find LastOwnershipUpdateTime on disk
Hello: I wondering if it's possible to find LastOwnershipUpdateTime on the disk via PowerShell. I can see this info in the portal, but cannot figure out how to find it via script (PowerShell). Looks like MSFT recently released it, but even updating my Az.Compute module to the latest (9.0.0) version I still do not see it. Any help would be really appreciated. Thank you!Solved37Views0likes3CommentsAzure Policy require multiple tags with values
I have a policy that requires specific tag with specific values (json below), but I want to require more tags within the same policy also with specific value and not sure how to do it... Is there a way to add more tags with specific values to the same policy? For example, I want to require two tags: environment with prod/non-prod and department with Infra/Finance Is it possible? Thank you! { "properties": { "displayName": "Require tag environment and its values on resources ", "policyType": "Custom", "mode": "Indexed", "description": "Enforces a required tag environment and its value. Does not apply to resource groups.", "metadata": { "category": "Tags", "createdBy": "" "createdOn": "" "updatedBy": "" "updatedOn": "" }, "version": "1.0.0", "parameters": { "tagName": { "type": "String", "metadata": { "displayName": "Tag Name1", "description": "Name of the tag, such as 'environment'" }, "allowedValues": [ "environment" ] }, "tagValue": { "type": "Array", "metadata": { "displayName": "Tag Value1", "description": "Value of the tag, such as 'production'" }, "allowedValues": [ "prod", "non-prod" ] } }, "policyRule": { "if": { "not": { "field": "[concat('tags[', parameters('tagName'), ']')]", "in": "[parameters('tagValue')]" } }, "then": { "effect": "deny" } }, "versions": [ "1.0.0" ] }, } }Fin All new Resources and ideally their cost
Hello: I wonder if there is a way to find out ALL Resources in our tenant that were created since specific date (like last 7 days) and their cost for the same period. Ideally I'd like to run it via PowerShell... How can I do it? We are not enforcing "create date" tags... Thank you!Solved257Views0likes2CommentsList all NEW resources created within a week
Hello: I wonder if there is a way to find out ALL Resources in our tenant that were created since specific date (like last 7 days). Ideally I'd like to run it via PowerShell... How can I do it? We are not enforcing "create date" tags... I thought about Powershell, but sometimes there are CreateDate, sometimes CreateAt... Thank you!Solved675Views0likes3CommentsAzure Windows Virtual Desktop (WVD) deploying - is access to internet required?
Hello: I am deploying WVD and everything is working fine if I'm using vnet/subnet with access to Internet. However, if I'm using subnet with NO access to Internet it finish deployment successfully, but the Hosts (VMs) never appear under Session Hosts... I think they need to download some binaries from the web and that's why it's failing... I also tried to manually install Agent (with registration key from my Host Pool) and Boot loader, but it still does not work. Is access to the web for Session Hosts a requirement for WVD deployment? Thank you!Solved1.8KViews0likes3Comments