Archive for the ‘Technology’ Category

This how to will walk you through using Restricted groups to put users in the local admin group on all PCs. It will also add them to the Remote Desktop user’s group. The usefulness in this is keeping as many people out of the domain admin group as possible while allowing the techs to work. […]

Wednesday, July 10th, 2019 at 17:50 | 0 comments
Tags:

In Active Directory, the default container for user objects is the Users container and the default container for computer objects is the Computers container.

Wednesday, July 10th, 2019 at 17:47 | 0 comments
Categories: IT operations
Tags:

AD Delegation allows you to give users/groups access to certain parts of your AD without giving them full admin access. A great example is allowing Help Desk users to reset user passwords; this is actually quite easy and is a default option when delegating permissions to an OU. However, you may want your Help Desk […]

Friday, July 5th, 2019 at 15:53 | 0 comments
Categories: Technology
Tags:

我们通过wmic 命令来将虚拟内存设置在D盘最小8G最大16G并删除C盘的虚拟内存文件 pagefile.sys.

Monday, July 1st, 2019 at 15:31 | 0 comments
Categories: Windows
Tags:

Get all user with selected info and Dl group By powershell.

Monday, May 6th, 2019 at 11:46 | 0 comments
Categories: PowerShell
Tags:

Remove user account from local Administrators group : The following powershell commands remove the given AD user account from local Admins group. $user = “DomainName/user1”; $group = “Administrators”; $groupObj =[ADSI]”WinNT://./$group,group” $userObj = [ADSI]”WinNT://$user,user” $groupObj.Remove($userObj.Path) If you want to remove non-domain local user account, you need to just pass the username as shown below: $user = […]

Tuesday, April 30th, 2019 at 17:25 | 0 comments
Categories: Technology
Tags:

Add a user account to the local Administrators group : The following powershell commands add the given user account to local Admin group. $user = “ComputerName/user1”; $group = “Administrators”; $groupObj =[ADSI]”WinNT://./$group,group” $userObj = [ADSI]”WinNT://$user,user” $groupObj.Add($userObj.Path) Add a AD domain user account to the local Admin group : We can use the above same commands to […]

Tuesday, April 30th, 2019 at 17:20 | 0 comments
Categories: PowerShell, Technology
Tags:

Get Computer List from DC 删除输入文件的双引号 如果要删除首行 完整实例 PING IP and Send email

Tuesday, April 30th, 2019 at 17:14 | 0 comments
Categories: PowerShell
Tags:

因为在看相关资料,所以看到该篇不错的文章,所以转载过来。文章原址

Friday, April 12th, 2019 at 10:45 | 0 comments
Categories: IT operations
Tags:

Easy way is Advanced Version

Thursday, April 11th, 2019 at 11:41 | 0 comments
Categories: PowerShell
Tags: