Question: I'm trying to get photo data (like likes) using the graph api, but it appears that some photos give me the data, but others return "Unsupported get request".
I'm only testing public pictures, using [GET /photo-id](https://developers.facebook.com/docs/graph-api/reference/v1.0/photo). 

[This](https://www.facebook.com/photo.php?fbid=523919591041646) photo, for example, returns "Unsupported get request", as you can see [here](https://developers.facebook.com/tools/explorer/?method=GET&path=523919591041646&version=v1.0).

Other photos do work, [this](https://developers.facebook.com/tools/explorer/?method=GET&path=10152158321342014&version=v1.0) one, for example.

Any ideas? Thanks a lot!

Answer: 
Try this:

```
Invoke-Command -ComputerName "mycomputer" -ScriptBlock {

        ## if public then $queuename = ".\YOUR_Q_NAME" 
        $queuename = ".\private$\YOUR_Q_NAME"  

        [Reflection.Assembly]::LoadWithPartialName("System.Messaging") | Out-Null
        $queue = New-Object -TypeName "System.Messaging.MessageQueue"
        $queue.Path = $queuename 
        $messagecount = $queue.GetAllMessages().Length
        $queue.Purge()
        Write-Host "$queuename has been purged of $messagecount messages."
    }

```

Note: Requires PS Remoting enabled in Remote Server.
Or if you're running Windows Server 2012 on the remote machine, you can use the MSMQ module functions:

```
Get-MessageQueue -Name QueueName | Clear-MessageQueue

```