Using monitoring database cmdlets