Archive: Scripts
-
Aug 03, 2010
1 CommentData Protection Manager 2010 manual backup of the protection group to tape
There is no way to trigger backup of a protection group manually in DPM Management Console. Use the following script from within DPM Management Shell to trigger tape backup of a protection group. You will need to provide DPM server name, protection group name and backup option (‘LongTerm’ for tape backup). param([string] $dpmname, [string] $pgname,...
-
Jul 26, 2010
2 CommentsHow to get servers’ DNS settings exported to CSV in Powershell
This script will let you query servers on your domain network for DNS server settings and return them in the CSV file. Script takes text file containing server names: server1 server2 server3 and returns CSV file with Hostname, DNS Servers, IP Addresses settings Get-Content .\servers.txt | ` ForEach-Object { Get-WMIObject Win32_NetworkAdapterConfiguration -Computername $_ | `...
-
Jul 24, 2010
3 CommentsHow to remove printers using Group Policy in domain environment
This isn’t quite using Group Policy Settings but a Login Script that will remove printer connections on client machines. If you, for example, wanted to migrate print server from one machine to another (upgrade maybe) and you will use Group Policy to deploy new printers to users, you would ideally want to remove old printer...
