随笔分类 -  powershell

摘要:Table of Contents Computer object commands Group object commands Organizational Unit (OU) commands User object commands See Also Table of Contents Com 阅读全文
posted @ 2017-04-19 11:40 lostARK 阅读(475) 评论(0) 推荐(0)
摘要:一:查询此AD域内所有用户的创建日期 Get-ADuser -filter * -Properties * | Select-Object Name,SID, Created,PasswordLastSet,@{n="lastLogonDate";e={[datetime]::FromFileTim 阅读全文
posted @ 2017-04-19 11:39 lostARK
摘要:即使Windows PowerShell已经由来已久,但很多管理员并不愿意主动熟悉PowerShell cmdlet命令行。随着微软扩展了PowerShell的功能,管理员应该对其功能及使用烂熟于心。本文介绍了用Windows PowerShell完成的25个最常见的任务。 常用条目 1. 像文件系 阅读全文
posted @ 2017-04-12 09:43 lostARK 阅读(4750) 评论(0) 推荐(1)
摘要:【TechTarget中国原创】 Windows PowerShell已成为微软在Windows Server上提供的首选管理界面。因为深度整合到Windows Server操作系统,PowerShell表面看上去可以不受任何限制做任何事情。然而,实际上能做得并没有那么多。 Windows Serv 阅读全文
posted @ 2016-05-26 09:11 lostARK
摘要:Robocopy.exe使用详例 Robocopy.exe 是 微软在Windows server 2003 Resource Kit Tools 里面提供的程序来做备份的.Vista,Win2008已经自带了。 Microsoft Windows 中内置的传统的“复制和粘贴”功能有一些局限性。它在 阅读全文
posted @ 2016-03-31 11:53 lostARK
摘要:In this tutorial I’m installing ADDS on Windows Server 2012 R2 with PowerShell. The old “Dcpromo.exe” is deprecated beginning with Windows Server 2012 阅读全文
posted @ 2016-03-17 19:47 lostARK
摘要:【TechTarget中国原创】 作为一名系统管理员,最常见的任务之一就是学会管理Windows服务,这是保证Windows服务器和客户端正常运行的重要内容。 许多操作系统和应用程序都依赖于这些服务。 Microsoft Management Console窗口是我们非常熟悉的一款Windows服务 阅读全文
posted @ 2016-03-15 09:34 lostARK
摘要:Set-DnsServerGlobalQueryBlockList Windows Server Technical Preview and Windows 10 Other Versions Updated: May 4, 2015 Set-DnsServerGlobalQueryBlockLis 阅读全文
posted @ 2016-03-01 09:03 lostARK
摘要:部署 Windows PowerShell Web 访问 适用对象:Windows Server 2012, Windows Server 2012 R2 Windows PowerShell® Web Access 在 Windows Server® 2012 中首次引入,充当 Windows P 阅读全文
posted @ 2016-02-23 18:52 lostARK
摘要:dcpromo 编辑 dcpromo命令是一个“开关”命令。如果Windows 2000 Server计算机是成员服务器,则 运行dcpromo命令会安装活动目录,将其升级为域控制器;如果Windows 2000 Server计算机 已经是域控制器,则运行dcpromo命令会卸载活动目录,将其降级为 阅读全文
posted @ 2016-02-23 10:26 lostARK
摘要:Ntdsutil.exe 本词条缺少名片图,补充相关内容使词条更完整,还能快速升级,赶紧来编辑吧! Ntdsutil.exe 是一个为 Active Directory 提供管理设施的命令行工具。 Ntdsutil.exe 是一个为 Active Directory 提供管理设施的命令行工具。 外文 阅读全文
posted @ 2016-02-23 10:16 lostARK
摘要:net user 编辑 Net User命令是一个DOS命令,必须在Windows nt以上系统的MS-DOS模式下运行,所以首先要进入MS-DOS模式:选择“开始”菜单的“附件”选项的子选项“命令提示符”,或在“开始”菜单的“运行”选项(快捷键为Win+R)中输入“cmd.exe”,进入MS-DO 阅读全文
posted @ 2016-02-23 10:09 lostARK
摘要:【TechTarget中国原创】XML是存储结构化数据的一个很好的途径,但是想要让数据在其中发挥作用又会有些困难。每一种语言都有其特定方式来查询XML文件中的命名空间、元素及属性。PowerShell也不例外。PowerShell在查询XML文件时会略有不同,而该技巧主要依赖于Select-Xml... 阅读全文
posted @ 2016-01-21 09:06 lostARK