Thursday, December 31, 2009

DPM - Library Name and Serial Number PowerShell Script

Here is a sample script you can use to lock the library door based on the library serial number:

$DPMLib = Get-DPMLibrary ServerName | where { $_.SerialNumber -match "L0CHGRFC4D53BFCBEFDE11869B00155" }
Lock-DPMLibraryDoor -DPMLibrary  $DPMLib

1 comments:

It's nice to find this sample. Do you have anything else to show here? Tell me.

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More