SharePoint Tidbit - GUI for PowerShell commands

Hello All, Earlier this week I was going thru my RSS feed and found an article about the cmdlet Show-Command and thought it was cool enough that I wanted to tell you about it. This cmdlet allows you to have a GUI for your cmdlet’s so we can get something like this, as you can…

0

SharePoint Tidbit - Getting the error "Failed to use non CLS compliant type"

Hello All, My customer is currently running MOSS 2007 and as we prepare for there migration, we have created several PowerShell scripts to collect data. One of the script get’s the content database object and when I tried to get the property name of that database I got this error The field/property: “Id” for type:…

0

Published to HeyScriptingGuy - 7/15/2016

Hello All, Watch for an article I published to HeyScriptingGuy on using PowerShell and SPO.  It is the first article in a series that will walk you thru moving a site collection from an on-prem farm to the cloud using PowerShell. Pax  

0

What to do once you have disabled the Workflow Cleanup Timer Job

Sooooooo you have figured out that you disabled the Workflow History Cleanup timer job, and now realize the mistake you made…. My customer recently found themselves in that position, this customer had done this to allow a Site Collection to use that data for auditing purposes and as I said a few weeks ago this is…

0

What port does PowerShell remoting use?

So I had written a script for a customer to update all the SharePoint servers in a farm and then run PSConfig and it worked great (More of that later) but one of the production farms is in the DMZ with firewalls, etc so being able to update all farms from one central machine was…

1

My PowerShell Library

Hello All, So as I have been writing scripts for different things I  have started to build up libraries of functions to perform different tasks so that I can re-use them. So I will start blogging about them and list them here These are my categories Admin Functions New-LogFile – Simple function that creates a…

0

How to elevate permissions for your shell within a script

At one time another you will right a script where you need to have it run from an elevated shell and there are many ways you can do this but today I’m going to focus on the following situation. “I want to run a script thru Task Scheduler with an elevated shell so that I…

0

Arguments what are they good for

If your like me you have slowly (or maybe quickly) been getting frustrated with using arguments in your PowerShell scripts, they have none of the nice built in functionality that function parameters have like Named,  Mandatory, etc.  On the Pro side I am grateful that they are collected into an array so that I can…

1