Hello Forum
I'm creating a script to grab some memory and pagefile information, running through an array of Servers.
I'm struggling with the Memory used be all SQL Processes and the amount of PageFile used be all SQL Processes
For Memory I've so far got this
$MemoryUsedBySQLProcess=Get-ProcessSQLSERVR|Select-ObjectNPM
For PageFile I've got this: -
$MemoryUsedBySQLProcess=Get-ProcessSQLSERVR|Select-ObjectNPM
I've
tried adding
-computername$server
to these commands (@server being the Machine name from the array) But neither are working,
can anyone please help
Please click "Mark As Answer" if my post helped. Tony C.