Archive for the ‘PowerShell’ Category

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

Monday, May 6th, 2019 at 11:46 | 0 comments
Categories: PowerShell
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:

Easy way is Advanced Version

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