I'm a total Powershell newbie, and am having a heckofa time getting helpful info from the PowerShell Reference and consistent results from the Veeam PowerShell Toolkit.
What is the script for seeing Full tapes that are in a Slot?
We have a Media Pool named "AWS".
Running
Code: Select all
Get-VBRTapeMedium -MediaPool 'AWS'BUT running
Code: Select all
Get-VBRTapeMedium -MediaPool 'AWS' | Where-Object {$_.IsFull -eq 'True'} | Export-VBRTapeMediumOk. So, then, I want to see only Full tapes that are in a Slot.
The B&R console shows 19 of those.
https://stackoverflow.com/questions/246 ... -statement says that the correct way to format my Where-Object with "and"s should probably be
Code: Select all
Get-VBRTapeMedium -MediaPool 'AWS' | Where-Object {( $_.IsFull –eq 'True' –and $_.Location -eq 'Slot')}Code: Select all
Get-VBRTapeMedium -MediaPool 'AWS' | Where-Object {$_.Location -eq 'Slot'}Code: Select all
Get-VBRTapeMedium -MediaPool 'AWS' | Where-Object {$_.Location -eq "Slot"}What is the script for seeing Full tapes that are in a Slot?
Thank you.