Dec 1, 2008

SharePoint Power Event Receiver 2.0 Released!

New Features in Version 2.0:
  • Security: Only Farm Administrators are permitted to edit scripts
  • The scripts will be included in SharePoint site templates (*.stp)
  • New predefined functions: Get-SPSite, Get-SPWeb, Select-SPListItem
  • Supports editing in PowerGUI (needs iLoveSharePoint PowerGUILauncher)
  • Fixes invalid cast issue with $properties, fixes issue with unregistering item events
Download on my Codeplex Project iLove SharePoint.

Bye, Christian

27 comments:

Anonymous said...

Looks like a neat feature! I suppose we have full intellisense support while coding in PowerGui, right?

Markus

dmitrysotnikov said...

This is awesome!

Congrats on the great new functionality! I'll blog about it right away.

Dmitry

P.S. Minor typo spotted in the URL for your CodePlex page: l is missing in the word codeplex.

kissouyin said...
This comment has been removed by a blog administrator.
ninepoints said...

Hi Christian:
Thanks a lot for this great feature, it saved me from many deploy, GAC registry, and iisreset, these could be annoying in some cases XD.

But I used to code C# event handlers with "SPSecurity.RunWithElevatedPrivileges", cuz some user invoked event may not have permission to change items on other lists, and hence requires impersonation or "sudo".

Is it possible to call such method with PowerShell Scripts?

Sophia

Christian said...
This comment has been removed by the author.
Christian said...

Hello Sophia,
you can use "SPSecurity.RunWithElevatedPrivileges" in PowerShell with "[Microsoft.SharePoint.Security.SPSecurtiy]
::RunWithElevatedPrivileges={
$site = new-object Microsoft.SharePoint.SPSite('http://myurl');
#....
}"
I'm not sure if this works with only in powershell 2.0.
In general the power event receiver already run as system. You only have to instantiate a new SPSite your script. Don't forget to dispose.
Bye, Christian

ma dissertation samples said...

I am satisfying to found such helpful post SharePoint Power Event Receiver 2.0 Released!. I actually increased my information after read your blog post which will be important for me,

Mark Wright said...

I must say,It is a great reminder that there is always room for improvement. Thanks for the great examples and inspiration.
Law Essay Writing Service

digital signature FAQ said...

Thank you so much for taking the time to create this easy-to-understand post ! Just love it !

Iccesally Lee said...

If you access curves and you replica handbags ambition to acquaint them afresh do it in style. Access a added bottom? Afresh opt for below jackets. They will adapt assimilation from the breitling replica awry allocation of your body. If you access the added top body, afresh access a hip across jackets. Straight aggregate calls for accessorizing. The added emphasis the better. Use chains, buttons and zippers to accrue the focus louis vuitton replica alive so that your egg-shaped analysis does not crop the centre hermes replica stage. If you access the hour canteen analysis shape, afresh you are lucky, because every adeptness will accommodation you.

سما احمد said...

enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz

enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz
enjz

Hug Day said...

hug day 2016 Images
happy hug day 2016 Date SMS Messages Quotes
Hug day Celebration Ideas For Him/Her
hug day sms for gf

Libin Huang said...

20160426libinferragamo outlet
pandora outlet
ferragamo shoes
nike air max
ferragamo shoes
hermes belt for sale
michael kors factory outlet
swarovski crystal
ferragamo shoes
michael kors outlet
louis vuitton handbags
louis vuitton handbags outlet
swarovski outlet
beats by dre
cazal outlet
mont blanc pens
longchamp solde
fitflops outlet
cartier sunglasses for men
michael kors outlet
louis vuitton outlet
swarovski crystal
cheap nfl jerseys
adidas outlet store
tory burch outlet
cheap oakley sunglasses
mulberry bags
rolex watches,rolex watches,swiss watches,watches for men,watches for women,omega watches,replica watches,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex
oakley sunglasses
tory burch outlet
ray ban sunglasses
louis vuitton outlet
polo ralph lauren
michael kors uk
tiffany outlet

Yuanyuan Lin said...

7.14llllllyuan"timberland shoes"
"soccer jerseys wholesale"
"longchamp pliage"
"cheap oakley sunglasses"
"true religion jeans"
"louis vuitton pas cher"
"rolex orologi"
"christian louboutin shoes"
"michael kors clearance"
"cheap nba jerseys"
"oakley sunglasses wholesale"
"tory burch shoes"
"tory burch outlet"
"chicago blackhawks jerseys"
"longchamp outlet"
"omega watches"
"adidas trainers"
"cheap nike shoes"
"nike outlet store online"
"michael kors outlet clearance"
"michael kors uk"
"montblanc pens"
"michael kors canada"
"longchamp handbags"
"ray ban sunglasses"
"abercrombie and fitch"
"mcm outlet"
"puma shoes"
"ralph lauren uk"
"nike air max 90"
"rolex watches,rolex watches,swiss watches,watches for men,watches for women,omega watches,replica watches,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex"
"mulberry outlet"
"air max 90"
"ferragamo outlet"
"christian louboutin outlet"
7.14

Fangyaya said...

nike roshe one
cheap oakley sunglasses
cheap oakleys
michael kors bags
coach outlet store online
retro jordan shoes
louis vuitton purses
coach outlet online
coach factory outlet
burberry sale
red bottom shoes
michael kors handbags
retro 11
coach factory outlet
louis vuitton outlet
louis vuitton
ghd hair straighteners
louis vuitton handbags
coach outlet
ralph lauren outlet
coach factory outlet online
cheap ray ban sunglasses
true religion jeans
louis vuitton bags
ray ban sunglasses outlet
cheap ray ban sunglasses
longchamp outlet
coach outlet online
ralph lauren
gucci belts
ray ban outlet
ray ban outlet
michael kors handbags
fitflop shoes
coach outlet clearance
montblanc pens
toms shoes uk
ralph lauren clearance outlet
timberlands
retro jordans 13
20168.8chenjinyan

Justin said...

HAMP to help a large number of property holders who were confronting the risk of dispossessions and insolvencies. The US government energized different offices and banks to partake in these projects intentionally by giving them a few motivating forces. aaa1autotitleloans.com/chicago

marko said...

It was in people groups mind that a man with poor credit will think that its hard to get a bank advance. However, there are a few banks offer advance to awful leasers. As what the expression says, when one entryway is shut another entryway will open and this is the way bank credits work. www.aaa1autotitleloans.com/chicagoo

Paulo said...

Credits pull in a loan fee that is subject to the loaning organization. Generally government understudy advances pull in a much lower loan cost when contrasted with those from other private money related organizations. www.aaa1autotitleloans.com/chicago

dada24 Xu said...

ysl outlet online
jordan shoes
vans outlet store
uggs sale
vans shoes
michael kors outlet
birkenstocks
ugg australia
borse gucci
celine outlet
2016921caiyan

dada24 Xu said...

canada goose jackets
birkenstocks
ugg outlet
cheap uggs
canada gooses outlet
louis vuitton
rolex replica watches
fitflops sale clearance
gucci outlet
cheap jordans
2016921caiyan

chenlina said...

chenlina20160923
chenlina20160923
gucci handbags
gucci outlet
ray ban sunglasses
toms shoes
clarisonic
kate spade
ugg boots
oakley sunglasses
ed hardy clothing
louis vuitton outlet

John said...

cheap rolex watches
hugo boss suits
ugg
michael kors uk
michael kors outlet clearance
ugg outlet online
cheap jordan shoes
canada goose jackets uk
yeezy shoes
cheap jerseys wholesale
uggs sale
adidas yeezy boost 350
authentic louis vuitton handbags
ugg canada sale
ugg boots
louis vuitton outlet online
michael kors outlet store
michael kors
ed hardy clothing
ray ban glasses
michael kors
michael kors uk
red bottom shoes
fitflops
chaussure louboutin
coach factory outlet online
true religion jeans outlet
levi's jeans
ed hardy store
20161102yuanyuan

Outlet Wade said...

Last featured in dark loden, the Nike Air Max 90 Mid Winter or Sneakerboot, is treated Lebron James Shose in triple black for its latest iteration this Fall 2016.The iconic runner has essentially been revamped with a textile/synthetic and leather Nike Air Max Outlet upper to increase its waterproofing and reduce its overall weight for a much more comfortable feel, while also being more sleek Nike Air Max Zero and versatile altogether. Draped in the stealthy hue, the enhanced silhouette is additionally defined by a raised collar and tweaked outsole Nike Shoes to cap off its durable construction.You can purchase this blacked-out pair at select Nike retailers overseas now, while a stateside release Nike Flyknit Chukka is imminent.
Legendary golfer, Arnold Palmer passed away this last Sunday. This Sunday (tomorrow), Antonio Brown will pay tribute to the Nike Outlet Store one of the greatest players in the sport’s history by rocking these custom pair of cleats.Antonio Brown took to his IG Nike Roshe to show the Nike cleats he will be wearing Sunday night as his Steelers take on the Kansas City Chiefs. The Nike Air Max custom cleats will have Palmer’s face on them, while “The King” is placed on the side panels of the cleat. Brown kyrie shoes has already been fined for wearing custom cleats this season, so it will be interesting to see if these make it Nike Huarache to the actual game or just used as a pregame warm-up cleat. Thoughts on the cleat? Let us know in the nike free 5.0 comments below.
Alongside its triple black finish, more images of the Nike ACG Lupinek Flyknit in a more fall-appropriate hue of Nike Air Yeezy 2 cargo khaki/sequoia is showcased.The boot/sneaker-inspired design is essentially covered in the defining tone which also emits militaristic vibes respectively.

Meiqing Xu said...

michael kors outlet
adidas stan smith
longchamp bags
cheap uggs
nike store
true religion outlet
cheap jordan shoes
toms outlet
louis vuitton bags
christian louboutin outlet
20161221ciayan

chenmeinv0 said...

christian louboutin
ray ban sunglasses
christian louboutin paris
air jordans
cheap rolex watches
pandora jewelry
adidas originals uk
chanel bags
coach outlet
ray ban wayfarer
hzx20170228

huali10 Cai said...

rolex watches for sale
louis vuitton
cheap jordans for sale
air max 90
longchamp outlet
nike outlet store online
tory burch outlet online
futbol baratas
cheap oakley sunglasses
michael kors outlet clearance
qqqqqing20170411

Home Improvement Westchester County said...

Ajrin Construction Inc. is a privately owned firm and has been providing home improvement and remolding services to clients all across the boroughs of Westchester County NY. Home Improvement Westchester County