Posts made in March, 2012

How to manage GPOs with vbScript?

Posted by on Mar 16, 2012 in Active Directory, Group Policies, VBScript | 0 comments

How to manage GPOs with vbScript?

You can do really really cool stuff with gpos in vbScript. I will show you how to export reports and give you some examples what else can be done going the vbScript way… The Group Policy Management console in Windows offers you the possibility to export reports about group policy object’s settings to html files – this, for example, is an excerpt of my default domain controllers policy: You can do this (and much more) by script too. Here is how you can do it… You can choose to save this report in a variable to do further processing in your script or you can save it to a file, just...

Read More

How to mark a DPM tape containing active recovery points as free

Posted by on Mar 8, 2012 in Data Protection Manager, Powershell | 9 comments

When trying to mark a tape that contains active recovery points as free in Data Protection Manager you’ll receive an error like this: The selected tapes cannot be marked as free because they belong to protection groups. You need to stop protection of the associated protection groups before you can mark the tapes as free. The protection group that a tape belongs to is listed in the Protection Group column. (ID: 31116) You can still force DPM to mark the tape as free by removing the recovery points. Use the following script in the DPM Powershell. $barcode = "000012L4" #type the...

Read More