尽管所有在线文档和示例都说明 Get-ADComputer 的结果应该有一个 OperatingSystem 属性,但我的 Win Server 2008 R2 上没有。
这是我在 Get-ADComputer 上的所有内容:
PS I:\> Get-ADComputer -filter{name -eq "sit-selpa"} | Get-Member
TypeName: Microsoft.ActiveDirectory.Management.ADComputer
Name MemberType Definition
---- ---------- ----------
Contains Method bool Contains(string propertyName)
Equals Method bool Equals(System.Object obj)
GetEnumerator Method System.Collections.IDictionaryEnumer...
GetHashCode Method int GetHashCode()
GetType Method type GetType()
ToString Method string ToString()
Item ParameterizedProperty Microsoft.ActiveDirectory.Management...
DistinguishedName Property System.String DistinguishedName {get...
DNSHostName Property System.String DNSHostName {get;set;}
Enabled Property System.Boolean Enabled {get;set;}
Name Property System.String Name {get;}
ObjectClass Property System.String …Run Code Online (Sandbox Code Playgroud) 我们有一个 Server 2008 AD 环境,大约有 5k 用户。我们刚刚成功推出了 Windows 7 SP1(以前是 XP)。但是,大约每天我们都会接到一些电话,说用户从他们的文档中打开一个文件(该文件夹在服务器上并被重定向),编辑它并尝试保存,但 Win7 报告找不到路径,因为它没有'不存在或没有权限。修复它的唯一方法是删除配置文件。
此外,我们收到相同数量但不同的用户表示,由于没有权限,他们无法打开 Outlook 2010 中的附件。我们必须编辑注册表中的临时 Outlook 存储路径来修复它(或删除配置文件)。
我认为这两个问题可能是相关的。
令我们感到害怕的是,我们在 1 个月前推出了这种性质的电话,直到大约 2 周前。它开始是一两个,但似乎正在增长。
有任何想法吗?我们要开一张 Microsoft 票,但我想看看其他人是否遇到过这种情况。
谢谢!