Archive for the ‘PowerShell’ Category

https://gallery.technet.microsoft.com/Windows-Backup-wbadmin-2014479e

Wednesday, September 18th, 2019 at 13:54 | 0 comments
Tags:

Block 1: Connect to the WSUS server and set the configuration. We are first going to set the property “Download update files to this server only when updates are appoved”, turn off all update languages, and then set the only update language to English. At the end, this would all be pointless if we didn’t […]

Wednesday, September 18th, 2019 at 13:50 | 0 comments
Tags:

This script will look for GPOs which have no settings at all and delete them.

Wednesday, September 18th, 2019 at 13:04 | 0 comments
Tags:

These policies generally are meant for just computer or user settings. This script will disable the empty settings (for example, if a GPO has only computer setttings, it will disable user settings). This is important as it does speed up performance by not having to process empty policies.

Wednesday, September 18th, 2019 at 13:03 | 0 comments
Tags:

Unlinked GPOs are just simply policies that aren’t applied to any OU or site. These policies aren’t

Wednesday, September 18th, 2019 at 13:02 | 0 comments
Tags: , ,

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