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

0 comments:

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More