# Friday, February 13, 2009

A couple of months ago I had a brief Q&A with the cdndevs guys over on blogs.msdn.com. It looks like it went live recently because I’ve been getting stopped in the streets and harassed for a photo etc. No, not really. But if you want to read, take a look over at http://blogs.msdn.com/cdndevs/archive/2009/02/12/mvp-insider-q-a-with-oisin-grehan.aspx ;-)

posted on Friday, February 13, 2009 6:55:32 PM (Eastern Standard Time, UTC-05:00)  #    Comments [1] Trackback
Related posts:
PowerShell Script Provider
PowerShell ISE Hacking: Change default save encoding to ASCII
PowerShell 2.0 – PSCX Labs: Invoke-Reflector
PowerShell 2.0 – Developer Essentials #1 – Initializing a Runspace with a Module
SharePoint Resources & Localization – What, Where and Why?
PowerShell 2.0 – Partial Application of Functions and Cmdlets

Referred by:
http://blogs.msdn.com/cdndevs/archive/2009/02/12/mvp-insider... [Referral]
http://powershellcommunity.org/blogs/externalblogs.aspx [Referral]
http://msdn.microsoft.com/en-us/aa497440.aspx [Referral]
http://www.powershellcommunity.org/Blogs/ExternalBlogs.aspx [Referral]
http://www.lmodules.com/opensocial/ifr?url=http%3A%2F%2Fblog... [Referral]
http://www.google.com/reader/view/ [Referral]
http://spider.acont.de/ [Referral]
http://35.gmodules.com/ig/ifr?url=http://1o4.jp/google/modul... [Referral]
powershell (search.live.com) [Referral]
opensocial lmodules (www.google.it) [Referral]
http://www.lmodules.com/ (www.google.com) [Referral]
lmodules opensocial ifr (www.google.com) [Referral]
www.lmodules.com (www.google.com) [Referral]
lmodules opensocial (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
lmodules opensocial (www.google.com) [Referral]
lmodules opensocial ifr (www.google.com.ar) [Referral]
lmodules.com /referral (search.yahoo.com) [Referral]
http://lmodules.com/opensocial/ifr (www.google.ca) [Referral]
http://blogs.msdn.com/cdndevs/archive/2009/02/12/mvp-insider... [Referral]
lmodules.com opensocial (www.bing.com) [Referral]
/opensocial/ifr (www.google.com) [Referral]
www.lmodules.com (www.google.com) [Referral]
/opensocial/ifr (www.google.com) [Referral]
lmodules opensocial ifr (www.google.es) [Referral]
"http://www.lmodules.com/" "opensocial" (www.google.com) [Referral]
/opensocial/ifr (www.google.fr) [Referral]
lmodules.com/opensocial (www.google.com) [Referral]
www.lmodules.com (www.google.com) [Referral]
lmodules.com / referral (www.google.co.uk) [Referral]
lmodules opensocial (www.google.fr) [Referral]
lmodules.com/opensocial/ifr (www.google.com.br) [Referral]
opensocial/ifr (www.google.com) [Referral]
opensocial/ifr (www.google.nl) [Referral]
http://www.lmodules.com/opensocial (www.google.com) [Referral]
lmodules opensocial (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
WCF UseDefaultCredential (www.bing.com) [Referral]
"opensocial/ifr" (www.google.co.uk) [Referral]
opensocial, lmodules (www.google.co.uk) [Referral]
www.lmodules.com (www.google.com) [Referral]
http://www.lmodules.com (www.google.co.uk) [Referral]
what is lmodules.com/opensocial/ifr (www.google.co.uk) [Referral]
http://www.lmodules.com/opensocial/ifr (www.google.no) [Referral]
opensocial/ifr (www.google.be) [Referral]
/opensocial/ifr (www.google.it) [Referral]
http://www.lmodules.com/ (www.google.se) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
http://www.lmodules.com/ (www.google.com) [Referral]
lmodules.com (www.google.com) [Referral]
lmodules.com (www.google.com) [Referral]
http://lmodules.com/opensocial/ifr (www.google.com) [Referral]
http://www.lmodules.com/opensocial/ifr (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
www.lmodules.com (www.google.fr) [Referral]
/opensocial/ifr (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.co.in) [Referral]
http://www.lmodules.com/opensocial (www.google.ca) [Referral]
lmodules.com/opensocial/ifr?url=http%… (www.google.com) [Referral]
"what is lmodules.com" (www.google.com) [Referral]
lmodules open social (www.google.gr) [Referral]
lmodules.com / referral (www.google.co.uk) [Referral]
lmodules.com (www.google.com) [Referral]
is lmodules.com/referral (www.google.co.uk) [Referral]
lmodules.com opensocial ifr (www.google.com) [Referral]
new-webserviceproxy getlistitems queryoptions (www.google.be) [Referral]
opensocial/ifr (www.google.com) [Referral]
lmodules.com (www.google.com) [Referral]
"lmodules.com/opensocial/ifr?url=http%" (www.google.fr) [Referral]
lmodules.com/opensocial/ifr (www.google.co.in) [Referral]
new-webServiceProxy caml (www.google.com.au) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
/opensocial/ifr (www.google.co.uk) [Referral]
opensocial/ifr (www.google.com) [Referral]
http://www.lmodules.com/opensocial/ifr (www.google.co.il) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
lmodules.com / referral (www.google.com) [Referral]
new-webserviceproxy _vti_bin/lists.asmx (www.google.cn) [Referral]
/www.lmodules.com/opensocial/ifr (www.google.nl) [Referral]
sharepoint powershell getlistitems new-webserviceproxy (www.google.com) [Referral]
lmodules linkedin (www.google.com) [Referral]
http://www.lmodules.com/opensocial/ (search.yahoo.com) [Referral]
lmodules.com/opensocial (www.google.fr) [Referral]
lmodules.com (www.bing.com) [Referral]
lmodules.com/referral (www.bing.com) [Referral]
lmodules.com/opensocial/ifr?url=http%… (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.com.br) [Referral]
what is lmodules.com/opensocial (www.google.com.ua) [Referral]
opensocial/ifr (www.google.ch) [Referral]
opensocial/ifr (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
/opensocial/ifr (www.google.be) [Referral]
lmodules opensocial (www.google.com) [Referral]
lmodules.com (referral) (www.google.com) [Referral]
what is lmodules.com (www.google.com) [Referral]
powershell GetListItems (www.google.ca) [Referral]
syntax error http://www.lmodules.com/opensocial/ifr?url= (www.google.com) [Referral]
linkedin syntax error http://www.lmodules.com/opensocial/ifr?url= (www.google.com) [Referral]
/lmodules.com/opensocial/ifr (www.google.nl) [Referral]
http://www.baidu.com/s?wd=ink-q [Referral]
lmodules.com / referra (www.google.co.uk) [Referral]
lmodules.com / referral (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.ca) [Referral]
powershell new-webserviceproxy getlistitems (www.google.com) [Referral]
referral lmodules (www.google.fr) [Referral]
lmodules.com/opensocial/ifr (www.google.fr) [Referral]
lmodules.com/opensocial/ifr (www.google.co.in) [Referral]
New-WebServiceProxy in sharepoint, getlistitems with powershell (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
lmodules opensocial (www.google.com) [Referral]
/opensocial/ifr (www.google.com) [Referral]
New-WebServiceProxy google (www.google.se) [Referral]
lmodules.com/opensocial/ifr (www.google.no) [Referral]
lmodules.com / referral (www.google.com) [Referral]
/opensocial/ifr (www.google.com) [Referral]
www.lmodules.com/opensocial/ifr (www.google.ru) [Referral]
4/opensocial/ifr (www.google.com) [Referral]
www.lmodules.com/opensocial/ifr (www.google.nl) [Referral]
cache:ds6tgTgWp8oJ:www.nivot.org/2009/02/13/QAOnYoursTrulyForMicrosoftCanadianDevelopersConnection.aspx www.lmodules.com/opensocial/ifr (webcache.googleusercontent.com) [Referral]
www.lmodules.com/opensocial/ifr (www.google.nl) [Referral]
lmodules opensocial ifr (www.google.com) [Referral]
www.lmodules.com/opensocial/ifr (www.google.com) [Referral]
http://www.lmodules.com/opensocial/ifr (www.google.ie) [Referral]
/opensocial/ifr (www.google.ca) [Referral]
what is lmodules.com? (www.google.com) [Referral]
http://www.google.com/ [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
www.lmodules.com/opensocial/ifr?url=http (www.google.com.ar) [Referral]
URL: www.lmodules.com//opensocial/ifr (www.google.com) [Referral]
lmodules.com (www.bing.com) [Referral]
lmodules.com/opensocial/ifr (www.google.co.uk) [Referral]
what is lmodules.com (www.google.com) [Referral]
lmodules.com/opensocial/ifr (www.google.com) [Referral]
what is lmodules.com (www.google.com) [Referral]
what is opensocial/ifr (www.google.com) [Referral]
lmodules.com/opensocial/ifr?url=http:… (www.google.es) [Referral]
lmodules.com/opensocial (www.google.com) [Referral]
htt/*/www.google.fr (fr.ask.com) [Referral]
asp.net web service usedefaultcredential (www.google.com.eg) [Referral]
referral from lmodules.com (www.google.com) [Referral]
lists.asmx getlistitems biztalk (www.google.com) [Referral]
Thursday, February 26, 2009 6:28:54 PM (Eastern Standard Time, UTC-05:00)
Hi Oisin,

I am kind of stuck on a SharePoint PowerShell problem. I've used a bunch of your stuff and it works great. Howver, I am trying to figure out how I can pull more than 100 items from a list using Web Services. I have figured out how to successfully use a Caml Query to specify only certain rows, but I am still needing to pull down more than 100 and I cant figure out how the paging works.

Here is what I have for code

function Get-AutoDeployTask {
param
(
[string]$environment = "Development",
[string]$computername = "IADDDEMO01"
)

[xml]$query = @"
<Query>
<Where>
<And>
<Eq>
<FieldRef Name="Environment"></FieldRef>
<Value Type="Text">$environment</Value>
</Eq>
<Eq>
<FieldRef Name="ComputerName"></FieldRef>
<Value Type="Text">$computername</Value>
</Eq>
</And>
</Where>
</Query>
"@

$uri = "http://AndyDemo/sites/Dev/ShowAndy/_vti_bin/Lists.asmx"
$webservice = New-WebServiceProxy -uri $uri -UseDefaultCredential
$webservice.url = $uri
$webService.GetListItems("MyList",$null, $query, $null, $null, $queryOptions, $null)
}

Basically, I really need some help understanding how Paging works using queryOptions and then how to bring in the next set of rows. Any help you could provide would be much appreciated.

All the best, and thanks again for all you do for the PS Community. Great great stuff!

-Andy
Comments are closed.