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
Microsoft Technology Blogs
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