I get this error when I run this. $share = Get-WmiObject -Class Win32_Share -computername 'fwcsqlbk01vp'  $mask = Invoke-WmiMethod -InputObject $share -Name GetAccessMask Invoke-WmiMethod : Cannot convert 'System.Object[]' to the type 'System.Management.ManagementObject' required by parameter...