# 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 2.0 – Partial Application of Functions and Cmdlets
PowerShell – The Patchwork of Paths, PSPaths and ProviderPaths
PowerShell - Why are keys in Hashtables sorted randomly?
PowerShell 2.0 - About Dynamic Parameters
PowerShell 2.0 – Introducing the PModem File Transfer Protocol
PowerShell 2.0 - Enabling Remoting with Virtual XP Mode on Windows 7

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]
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.