PowerShell script exchange
Post Reply
Tarqy
Service Provider
Posts: 42
Liked: 5 times
Joined: Aug 08, 2014 1:51 pm
Full Name: Barry Knox
Contact:

Tapes remaining in Free pool

Post by Tarqy »

Hi,

Does anyone have a PS script to check the number of tapes remaining in the free pool and send an email if it falls below a certain number?

Thanks in advance
VMCE
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Tapes remaining in Free pool

Post by veremin »

Don't have a console at hand, but the following script should give you some idea:

Code: Select all

asnp VeeamPSSnapin
$free = Get-VBRTapeMediaPool -Name "Free"
Get-VBRTapeMedium -MediaPool $free | measure
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests