版主
我通过get-wmiobject 获取用户属性
Get-WmiObject -Query "select * from win32_account where name='administrator'"|Get-Member
有 passwordexpires 这个属性
但是
报错 Get-WmiObject -Query "select passwordexpires from win32_account where name='administrator'"
正常 Get-WmiObject -Query "select status from win32_account where name='administrator'" 这种情况如何导致的?