SharePoint 2010 seems to be better than 2007 for removing workflow status columns from list views after a workflow has been removed or updated, but it does still leave them behind every now and again.
I have been unable to trace exactly why this happens, but rather than waste time looking, I decided to write a quick PowerShell script to remove these columns as they cannot be deleted from the UI.
This script works as a function – meaning that there are two parts to running it in the SharePoint 2010 Management Shell. First, you have to run the script shown below:
function Delete-WorkflowColumn ($webURL, $listName, $columnName)
{
#Setup variables from the user input
$web = Get-SPWeb $webURL
$list = $web.Lists[$listName]
$column = $list.Fields[$columnName]
#Make sure the column is not hidden or read only
$column.Hidden = $false
$column.ReadOnlyField = $false
$column.Update()#Delete column and dispose of the web object
$list.Fields.Delete($column)
write-host "Deleted column"
$web.Dispose()
}
Once the function has been run, you can call it to actually remove a column with the following command:
Delete-WorkflowColumn -webURL http://portal -listName "Documents" -columnName "Approval Workflow (Previous Version:1/17/2011 8:45:01 PM)"
The example above deletes the “Approval Workflow (Previous Version:1/17/2011 8:45:01 PM)” column shown in the screenshot above from all list views of a document library called “Documents” in the site http://portal.
Whilst I have focused in this article on removing columns generated by unused workflows, you can use exactly the same script to remove columns from any list or document library.
Nice.
ReplyDeleteOr you can use SharePoint Manager and set AllowDeletion property of the field to True and delete the field...
Very helpful post!
ReplyDeleteThis is awesome I spend all morning tring to do this!!!
ReplyDeleteGrateful to check out your website, I seem to be ahead to more excellent sites and I wish that you wrote more informative post for us. Well done work.
ReplyDelete2015-12-7 xiaozhengm
ReplyDeleteadidas uk
nike free run
toms outlet
ugg outlet
michael kors outlet online
nike huarache trainers
polo ralph lauren
jordan 8
michael kors handbags
christian louboutin uk
running shoes
cheap uggs boots
air force 1
ralph lauren outlet
coach outlet
michael kors outlet
toms outlet
hermes uk
michael kors uk
ugg boots
fitflops clearance
michael kors uk
tory burch outlet
oakley sunglasses
nike outlet
louis vuitton outlet
louis vuitton pas cher
kate spade outlet
gucci outlet
coach outlet
michael kors outlet
canada goose uk
coach factory outlet
christian louboutin shoes
nike blazer
jordan 8s
michael kors handbags
jordan 3 infrared
caoch outlet
true religion outlet
jianbin0309
ReplyDeletetrue religion jeans outlet
celine outlet
louis vuitton handbags outlet
air jordan shoes for sale
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
tiffany outlet
swarovski crystal
michael kors outlet store
michael kors clearance
hermes bags
ray ban sunglasses
marc jacobs
valentino outlet
swarovski crystal
mac cosmetics
cheap nba jerseys
ray ban sunglasses
louis vuitton handbags outlet
ray-ban sunglasses
michael kors outlet store
michael kors outlet online
swarovski outlet
chicago blackhawks
true religion canada
michael kors outlet
ed hardy clothing
longchamp handbags outlet
prada outlet
ralph lauren shirts
michael kors factory store
cheap nfl jersey
rolex watches for sale
cheap nike shoes
mbt shoes outlet
timberland boots
ReplyDeleteray ban sunglasses
louis vuitton handbags
rolex watches
toms shoes
michael kors outlet
air jordan pas cher
instyler curling iron
replica watches
fake watches
replica watches
jordans for sale
coach outlet
louis vuitton handbags
cheap jordan shoes
ralph lauren outlet
michael kors outlet
kate spade
gucci outlet
true religion shorts
christian louboutin outlet
coach outlet
jordans
michael kors outlet clearance
kobe bryant shoes
coach outlet
ray ban wayfarer
michael kors handbags
michael kors handbags
jordan retro
kobe bryant shoes
michael kors outlet online sale
michael kors handbags
coach factory outlet
jordan 8
louis vuitton
christian louboutin shoes
true religion
michael kors handbags
michael kors outlet
20168.8wengdongdong
ray ban sunglasses
ReplyDeletechristian louboutin paris
oakley sunglasses
louis vuitton outlet
celtics jerseys
louis vuitton outlet
louis vuitton outlet
kate spade handbags
prada outlet
michael kors
20173.9chenjinyan
Its helping me... Thank you
ReplyDeletetrue religion uk
ReplyDeletethunder jerseys
hollister co
nike air max 95
red bottom
toms
michael kors bags
nike roshe one
air max
coach factory outlet
0324shizhong
reebok sneakers
ReplyDeletecheap jordan shoes
fitflops sale
north face jackets
canada goose jackets
tory burch shoes
saint laurent handbags
cheap jordans
coach outlet
jordan shoes
2017.5.15chenlixiang
gucci
ReplyDeletecheap oakley sunglasses
michael kors outlet store
cheap oakley sunglasses
longchamp bags
red bottom
adidas superstar shoes
coach outlet online
texans jerseys
kate spade
170517yueqin
ReplyDeleteشركات الشحن
شركات الشحن الدولي
شركات شحن من الرياض لمصر
شركات الشحن الدولي
شركات شحن من الرياض لمصر
اسعار شركات الشحن
افضل شركة شحن
ارخص شركة شحن
شركات شحن لمصر بالرياض
شركات شحن بالرياض
شحن لمصر من الباب للباب
مكتب شحن لمصر
ReplyDeleteشركات الشحن جده مصر
شركات الشحن بجده لمصر
شركات الشحن مكه مصر
شركات الشحن جده لمصر
شركات الشحن مكه لمصر
شركة شحن بجده لمصر
شركات الشحن الرياض مصر
شركة شحن الرياض مصر
شركات الشحن
شركات الشحن الدولي
شركات شحن من الرياض لمصر
شركات الشحن الدولي
شركات شحن من الرياض لمصر
اسعار شركات الشحن
افضل شركة شحن
ارخص شركة شحن
شركات شحن لمصر بالرياض
شركات شحن بالرياض
شحن لمصر من الباب للباب
مكتب شحن لمصر
شحن لمصر
اسعار الشحن لمصر
pandora charms
ReplyDeletered bottoms louboutin
kobe 12
north face uk
valentino outlet
red bottom shoes}
nike factory
fitflop
cheap soccer cleats
supreme hoodie
شركة نقل اثاث بالرياض
ReplyDeletehis article is very helpful at all thanks
ReplyDeleteObat Penyakit Asam Urat
Obat Mata Juling
Obat Kanker Rahim
Cara Mengobati Sakit Pinggang
Cara Mengobati Benjolan Di Vagina
Pengobatan Alami Penyakit vertigo
Even ought to had a service thats generally injured, Flawed or it may be incorrect exercise programs planned advent, Remember let us know routinely but also i will try to unravel the situation in a timely manner. An satisfaction is related with top rated great to our business and therefore some of us achievable 2 days within the wedding this day performance to assert this challenge. An old 30 day come home quote will definately add if the thing is accounted and afterward 2 days from your time concerning execution..
ReplyDeleteThis Maillot De Foot Pas Cher excellent Maglie Da Calcio a Poco Prezzo price will involve appropriate manners equipement foot jobs, Place a burden on, Stock dfb trikot müller broker nicely as other fees and penalties. Such a multitude is be hummel trikots more responsive to change before Coach Outlet Online Store make compensation. For vacationer tax, See the Camisetas De Futbol Baratas world shipping charges technique affiliate agreement breaks in a whole maillot de foot pas cher pickup's wind shield manuel neuer trikot rot and / or maybe hook.
The product may just amazon müller trikot be lack of an original selling label chemicals(In particular authentic box or ticket). Fresh original manufacturing unit moments and/or excessive collectibles might second category now this situation area. The tickets might not be included.
Kendrick Henley was one of six CNN viewers chosen to official coach outlet online be a part of the Coach Factory Outlet Store 2011 Fit Nation Triathlon Challenge. He trained with Dr. Sanjay Gupta and raced the New York City Triathlon on August 7. Since then Henley has kept up his new healthy lifestyle and recently raced his second 5K since the triathlon. CNN is looking for viewers like Henley to join our 2012 Challenge. Click Your Story to apply.
ReplyDeleteThe year 2011 might be coming to an end, but Kendrick's journey and Team Henley's celebrations continue.
When Kendrick, Coach Keith and I (Coach Mary Ann) became "Team Henley" in January 2011, none of us knew what coach factory outlet online login to expect from the coming year. Kendrick had just been selected for the 2011 Fit Nation Challenge and Coach Keith and I were excited to have the opportunity to coach a new athlete from our hometown of Chicago.
That was pretty much all that we knew, and out of the three of us, Kendrick was taking the biggest risk. He was literally letting the world know that he coach factory website wanted to change the way he was living, Coach.com lose weight and take on a healthier lifestyle.
The timing was great for me, because in a moment of insanity I had made an annual check up appointment for the Monday morning after Thanksgiving. Surprise surprise: my weight was up.
In an attempt to distract my kind doctor from that coach factory online sale issue, I mentioned that I was entering a contest coach factory outlet to do the NYC Triathlon, and Iasked if she thought I was healthy enough to do it.
I have to hand it to her if she rolled her eyes, it was so subtle that I didn't notice cheap coach purses it. She allowed that since I had recently completed two uneventful 5K races, I would probably be fine to do a triathlon (not that she really believed I would do it).
My second triathlon was a huge success. Now it your turn!
maillot de foot pas cher
ReplyDeletemaillot paris 2018
maillot de foot pas cher
Maillot Foot Pas Cher
maillot foot pas cher
maillot psg pas cher
maillot de foot pas cher
louboutin pas cher
louboutin soldes
There are those who want to collect vintage items like Michael Kors Factory Outlet with genuine and high quality leathers from Michael Kors. To be able to grab a quality Michael Kors Bags Outlet item of your choice, make sure to be very careful in selecting what to buy, how to buy and where to buy the Michael Kors Outlet Online.
ReplyDeletehttps://myserviceshome.com/fighting-insects-in-khamis-mushait/
ReplyDeletehttps://myserviceshome.com/fight-cockroaches-with-magic-dough-in-riyadh/
https://myserviceshome.com/steam-cleaning-company-in-khamis-mushait/
https://myserviceshome.com/insulation-of-bathrooms-and-kitchens/
https://myserviceshome.com/moving-furniture-in-khamis-mushait/
شركة مكافحة حشرات بأبها
ReplyDeleteThis article is interesting and useful. Thank you for sharing. And let me share an article about health that God willing will be very useful. Thank you :)
ReplyDeletePengobatan Alami Tuntaskan Keputihan
Pengobatan Alternatif Patah Tulang/Fraktur
Obat Radang Paru-paru Basah/Pneumonia paling Ampuh
Obat Gusi Bengkak Bernanah Tradisional
Obat Migrain Tradisional
Penyebab Telat Haid dan Solusinya
maglie calcio a poco prezzo
ReplyDeletemaglie calcio poco prezzo
maglie calcio 2018
maglie italia
maglie calcio a poco prezzo
maglie calcio poco prezzo
maglie calcio 2018
maglie italia
maglie calcio a poco prezzo
maglie calcio poco prezzo
maglie calcio 2018
maglie italia
maglie calcio a poco prezzo
maglie calcio poco prezzo
maglie calcio 2018
maglie italia
maglie calcio a poco prezzo 2018
maglie calcio poco prezzo 2018
ite soccer
ReplyDeleteite soccer
itesoccer
ite soccer store
ite soccer
ite soccer
ite soccer
ite soccer
ite soccer jersey
ite soccer site
ite's soccer jersey
ite soccer store
iteite soccer yupoo
shida10hao
ite soccer jersey
aliexpressite
ite soccer site
ite soccer site
ite soccer site
itesoccerstore
itesoccerstore
itesoccerstore
ite's soccer
ite's soccer
ite's soccer
ite's soccer
ite aliexpress
yupooite
ite's soccer jersey
ite's soccer jersey
ite's soccer jersey
ite soccer aliexpress
ite soccer aliexpress
ite soccer aliexpress
ite soccer aliexpress
ite store
aliexpressite
yupoo joan
yupoo beone
jersey yupoo
jersey yupoo
camisetas de futbol
ReplyDeletecamisetas de futbol baratas
camisetas futbol baratas
camiseta real madrid barata
equipaciones de futbol baratas
comprar camisetas de futbol
camisetas de futbol baratas 2017
comprar camisetas de futbol
tiendas de futbol
camisetas de futbol
camisetas futbol baratas
camisetas futbol
camiseta real madrid barata
bounty camisetas futbol
camisetas de futbol 2018
شركة مكافحة حشرات
ReplyDeleteشركة مكافحة النمل الابيض بحائل
شركة مكافحة حشرات بحائل
شركة رش مبيدات بحائل
شركة اللمسة الأخيرة تقدم لك الحل الأمثل فلا حشرات بعد اليوم ولن تعود مرة أخرى. فنحن نستخدم أفضل المبيدات العالمية الفعالة صديقة البيئة التي لا تترك رائحة ولا سيوثر على صحة الأنسان ويقوم باستخدامها عمال مدربون يقومون برش المبيدات بشكل علمي مما يضمن لك الراحة التامة نرجو التواصل على هذا الرقم 0580002467
ReplyDeleteشركة رش مبيدات بأبها
شركة مكافحة حشرات بأبها
شركة مكافحة النمل الابيض بأبها
شركة رش مبيدات بخميس مشيط
شركة مكافحة حشرات بخميس مشيط
شركة مكافحة النمل الابيض بخميس مشيط
شركة رش مبيدات بالقصيم
شركة مكافحة حشرات بالقصيم
شركة مكافحة حشرات بجازان
شركة رش مبيدات بجازان
شركة اللمسة الأخيرة تقدم لك الحل الأمثل فلا حشرات بعد اليوم ولن تعود مرة أخرى. فنحن نستخدم أفضل المبيدات العالمية الفعالة صديقة البيئة التي لا تترك رائحة ولا سيوثر على صحة الأنسان ويقوم باستخدامها عمال مدربون يقومون برش المبيدات بشكل علمي مما يضمن لك الراحة التامة نرجو التواصل على هذا الرقم 0580002467
ReplyDeleteشركة رش مبيدات بأبها
شركة مكافحة حشرات بأبها
شركة مكافحة النمل الابيض بأبها
شركة رش مبيدات بخميس مشيط
شركة مكافحة حشرات بخميس مشيط
شركة مكافحة النمل الابيض بخميس مشيط
شركة رش مبيدات بالقصيم
شركة مكافحة حشرات بالقصيم
شركة مكافحة حشرات بجازان
شركة رش مبيدات بجازان
Jual Obat Aborsi Asli | Obat Cytotec Asli | 082241083319
ReplyDeletejual obat aborsi pills cytotec asli manjur untuk menggugurkan kandungan usia 1 - 6 bulan gugur tuntas.CYTOTEC OBAT ASLI sangat efektif mengatasi TELAT DATANG BULANdan menjadikan anda gagal hamil , CYTOTEC adalah OBAT ABORSI 3 JAM BERHASIL GUGUR TUNTAS dengan kwalitas terbaik produk asli pfizer nomor 1 di dunia medis
JUAL OBAT ABORSI DI CURABAN
JUAL OBAT ABORSI DI MAGETAN
JUAL OBAT ABORSI DI MALANG
JUAL OBAT ABORSI DI KEPANJEN
JUAL OBAT ABORSI DI MOJOKERTO
JUAL OBAT ABORSI DI MOJOSARI
JUAL OBAT ABORSI DI NGANJUK
Thanks for provide great informatic and looking beautiful blog, really nice required information & the things i never imagined and i would request, wright more blog and blog post like that for us. Thanks you once agian
ReplyDeletecourt marriage in delhi ncr
court marriage in delhi
court marriage in noida
court marriage in ghaziabad
court marriage in gurgaon
court marriage in faridabad
court marriage in greater noida
name change online
court marriage in chandigarh
court marriage in bangalore
ReplyDeleteفني كهربائي بالمدينة المنورة
يوجد العديد من الأعطال في الأعمال الكهربائية الموجودة في منزلك أو شركتك لذلك يجب عليك اللجوء إلى المتخصصين في مجال الكهرباء وهو أفضل كهربائي بالمدينة المنورة.
يعمل على اكتشاف السبب الرئيسي في حدوث هذه الأعطال ويصلحها بمهارة شديدة كما يقوم بتركيب كافة أعمال الكهرباء من أسلاك ولوحات كهربائية مقابل أسعار مناسبة
ReplyDeleteفني سباك بالمدينة المنورة
فني كهربائي بالمدينة المنورة
كهربائي بالمدينة المنورة
كهربائي بجدة
كهربائي جده
كهربائي منازل بالمدينة المنورة
كهربائي منازل جدة
Upon completion of his Quinnipiac career, Cashman signed with the Toronto Maple Leafs. He played for the AHL's Ray Ban Round Sunglasses Toronto Marlies, Wilkes Barre/Scranton Penguins and the Milwaukee Admirals. He also played Michael Kors Bags Sale for the Columbia Inferno, Wheeling Nailers and the Cincinnati Cyclones of the ECHL before completing his professional Coach Bags On Sale Online career overseas with EHC Black Wings Linz of the Austrian Erste Bank Ice Hockey League.. MK Outlet
ReplyDeleteIt not Coach Outlet Store Online about what his mother says, he says or whoever. Air Jordan 1 Sale It about what God and the good
مقاول اسفلت بجدة
ReplyDeleteداخل شركة تيجان أكبر وأشهر مقاول اسفلت بجدة يمكنه التعامل مع الأعمال الكبيرة، فهو دائمًا ما يبدع في الأعمال التي يقدمها ويسهل على الجميع الحصول على سعر مناسب، لهذا أعمالنا تقدم باحترافية ومصداقة لأننا حاصلون على لقب أفضل شركة مقاولات في مدينة جدة، فإذا كنت تريد خدمة اسفلت فلا تتردد اتصل بنا على أرقامنا وسوف نكون في خدمتكم 24 ساعة.
The first plateau was dewy with tropical greenery and plants; another was dusty and desolate. Camping would be possible on any one of them. Feeling nauseated from altitude and fatigue, Jay wanted to stop at the first, but we coached each other and pressed on, Jordan Shoe Stores knowing that what we'd come for was within reach.
ReplyDeleteWe all got what we wished for, except my mom. The spot Coach Outlet Purses On Clearance where we ended up had views in Cheap Air Forces all directions that made you feel like you'd been plopped into a postcard, but the rough terrain was better navigated by horse or jeeplike UTVs (utility task vehicles) than on foot. Mom made the MK Outlet Sale best of it, proving herself the rootin' est, tootin' est 77 year old cowgirl on the ranch.
Personal crises lead to standalone episodes that are all worth writing home about the feminine competition in "Dear Mrs. Kennedy," the unexpected magical realism of "Paterfamilias," and the smooth, sexy episode "Beryl," in which the princess Margaret Coach Outlet Online 80 OFF (Vanessa MK Outlet Online Kirby) meets the man who would eventually become her husband: Tony Armstrong Jones (Matthew Goode), a sexually adventurous artist who oozes midcentury charm. Coach Outlet Clearance Sale It's unreal how well done the entire episode is, from Kirby's unstable and brilliant performance as the spoiled, heartbroken princess to the final Cheap Nike Air Force 1 shots of the episode, which silhouette Goode in a darkroom lit red as if he is the villain in a horror movie..
In the incident, the Air Canada plane was cleared for landing but lined up with the parallel taxiway where four planes were awaiting to takeoff. The Air Canada jet descended below 100 feet above the ground and initiated a go around after overflying for first airplane on the taxiway. The video released by the NTSB shows the incident in the top lefthand corner.
yeezy
ReplyDeletecurry shoes
adidsas yeezy
stone island sale
jordan 1
jordans
golden goose
kyrie 7
off white jordan 1
supreme hoodie
volverisis a general blog site. It brings you news, entertainment and inspired or educational articles.
ReplyDeleteI'm starting this blog because I've been working on rustte-streaming in my free time for about half a year... rustte
ReplyDeletemuntto is a general site for bloging, includes articles and photos management.
ReplyDeleteWe want to provide an unbiased source of information to our viewers. Whether you're looking for help or want to get the latest news... upmc shift select
ReplyDeleteHow to play new pokemon game online with joy, the best pokemon games for free... New Pokemon Game
ReplyDelete