我正在尝试通过 Powershell 获取资源的资源创建者以实现标记策略。我尝试过使用 Get-AzLog
,但是,我无法推断资源的创建者。
提前致谢。
最佳答案
<强> Get-AzLog
是这样的,默认只返回最近7天的信息,如果你知道时间和日期,可以尝试下面的方法,
Get-AzLog -ResourceGroup ExampleGroup -StartTime (Get-Date).AddDays(-60)
关于azure - 通过 PowerShell 获取 Azure 中资源的资源创建者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57472071/