Archive for the ‘Technology’ Category

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:

Open a command prompt and type the following The following command limits the size that VSS can use.

Monday, December 24th, 2018 at 12:16 | 0 comments
Tags:
Sunday, December 23rd, 2018 at 21:23 | 0 comments
Tags:

通过GPO批量更新域控用户IE设定。修改object路径: [User Configuration] / [Policies] / [Administrative Templates] / [Windows Components] / [Internet Explorer] / [Internet Control Panel] / [Security Page] / [Site to Zone Assignment List] 编辑并且Enable这一选项;选择Show;添加网址并且设置Value; 在设置网站列表时需要注意的事项: ※设定 Value 时的注意事项 Internet Explorer 有四种不同的安全级别,分别为1 ~ 4 1. 内部网络(Intranet zone) 2. 信任的网站(Trusted Sites zone) 3. 外部网络(Internet zone) 4. 限制的网站(Restricted Sites zone)

Monday, December 10th, 2018 at 11:01 | 0 comments
Tags:

免费转换工具 NAME:5nineEasyConverter

Monday, January 29th, 2018 at 16:27 | 0 comments
Tags: