Geeks With Blogs
Points To Share Mostly SharePoint
Saving A SharePoint site as a template when the . link is not available under Site Actions Microsoft disabled the link for publishing sites even though the action is still available. This because they fear that one will use the template in a different site collection that may or might not be “publishing” enabled. Well, I have invested time in building ......

When my love swears that she is made of truth I do believe her, though I know she lies, That she might think me some untutor'd youth, Unlearned in the world's false subtleties. Thus vainly thinking that she thinks me young, Although she knows my days are past the best, Simply I credit her false speaking tongue: On both sides thus is simple truth suppress'd. ......

At times I create so many sites and sub-sites that the Top-Nav cannot handle it. It is better to add the new links to the Quick Launch.The function below makes it a snap.Here is how it is used:The first line inserts a heading "OrgSites" under the "Lists" heading (already there) in the QuickLaunch. Normal 0 false false false EN-US X-NONE X-NONE /* Style ......

Doug Finke, A PowerShell MVP tested it in .Net where it fails as well. He explained that The call is ambiguous between the following methods or properties: 'System.Math.Floor(decimal)' and 'System.Math.Floor(double)' My understanding is that PowerShell convert variables as it "pleases". 1/5 will most likely convert to float. There maybe another approach ......

Here is a piece of code I tested for the conversion of the numbers 0 thru 99 into 20 strings of exactly 2 digits. The first is 04, the next 09, then 14,19,24,29, etc. all the way to 94, 99. The code: "{0:D2}" -f $d formats each number to exactly 2 digits. The $i used in the “for” loop is interpreted by PowerShell – it automatically assigns it to a float. ......

Comparing WFE servers One of the SharePoint farms I am involved with has a load balanced pair of WFE. One of the web parts had acted sporadically – at times working well, at others not at all and I suspected that it might be because it was set wrongly on one of the servers and correctly on the other. Well, I went and checked the GACs on both servers. ......

I have just finished a new CodePlex project named SPDeployRetract. This is a sophisticated PowerShell script that allows you to to deploy solutions and InfoPath forms with ease. It is especially beneficial because once you set up the instructions in the xml input, you can repeat the process in farm after farm without error. The script also allows for ......

We are in a project and we hit some snags. What’s a snag? An activity that takes longer than expected. Actually it takes longer than the time assigned to it by an over pressed PM who accepts an impossible time table and tries his best to make it possible, but I digress (again!). So we have snags and we also have the opposite. Let’s call these “cinches”. ......

Well, I have written a sophisticated PowerShell script to expedite the deployment of InfoPath forms - .XSN file. Along the way by way of trial and error (mostly error and error), I discovered a few little things. Here they are. • Regardless of how the install command is run – PowerShell or the GUI in Central Admin – SharePoint enwraps the XSN inside ......

PowerShell Try Catch Finally I am a relative novice to PowerShell and tried (pun intended) to use the “Try Catch Finally” in my scripts. Alas the structure that we love and use in C# (or even – shudder of shudders - in VB) does not always work in PowerShell. It turns out that it works only when the error is a terminating error (whatever that means). ......

Copyright © PointsToShare | Powered by: GeeksWithBlogs.net | Join free