PowerShell Archives - All Things DotNetAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

PowerShell Category

If you don’t pay really close attention to every step during the creation of a group in SharePoint, you’ll probably fall prey to one of the unintentional pitfalls that can happen.

Recently, I ran into a circumstance in which trying to Save as Site Template using the browser did not work for me. It just hung and never finished. So, I started looking for how to do it with PowerShell (SharePoint Management Shell). As it turned out, it’s very simple

Most examples of how to use ‘get-SPFeature’ using PowerShell (SharePoint Management Shell) show you how to use it with the GUID to find out the name. But what if you have the name and you want to find out the GUID ? All you need to do is use the name – it works both […]

If you’re in SharePoint 2010 Management Shell, the time might come that you need to concatenate a string with a variable, and echo it on the screen, to show what’s happening as it’s happening. However, it’s not as straight forward as it is in C# or VB.Net.

If you are working in SharePoint Management Shell and you get this error message, it probably has more to it, like: “Verify that the local farm is properly configured….” Have no fear, it’s a simple solution that will get you back so that you can add your solution, etc.

Let’s say you have a bunch of Content Query Web Parts that someone put on a SharePoint site that you need to maintain. These CQWPs all use various Content Types, and that’s all you have to go on, but you need to find out which lists use those content types.

If you’re In SharePoint Management Shell (PowerShell), you’re using the add-spSolution cmdlet, and you get this error, don’t worry, there’s a very simple fix.

If you want to include a seamless exporting/importing of the Metadata you’ve produced when backing up and restoring of a SharePoint 2010 site, it is a two step process for each. First, you need to backup the site collection. Then you need to separately backup the Metadata. Naturally, you must import the data on the […]

So, now, we’re moving over to SharePoint PowerShell, right. Formerly, we used STSADM from a command prompt. Therefore, here are the old and new commands for solution management, to do the following: Add a Solution Deploy a Solution Retract a Solution Delete a Solution

All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF

If you find this site helpful,
please donate to help keep it online and free

Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter

Test - The Name: 6936