Tags » PowerShell

Quickly Unblocking Powershell scripts you have downloaded.

The quickest way I have found is to do this is from PowerShell as an admin as such …..

Get-ChildItem "C:\somewhere\in-the-file-system\MyDownloadedScripts" -Recurse | Unblock-File

For more info about how/why downloaded scripts are blocked see this post by Scott Hanselman

Powershell

OpenProj free project managment example

OpenProj” is a project management application similar to Microsoft Project. It includes most of the features of Microsoft Project but is free. It could be used : 245 more words

SQL

PowerShell : Upgrade SharePoint Solution

Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction “SilentlyContinue”

function Get-ScriptDirectory
{
$Invocation = (Get-Variable MyInvocation -Scope 1).Value
Split-Path $Invocation.MyCommand.Path
}

function Upgrade-Solution{
param(
$physicalPath,
$wspName)

$SolutionName = $wspName
$SolutionPath = Join-Path ($physicalPath) $SolutionName… 75 more words

PowerShell

PowerShell : Uninstall SharePoint Solutions

Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction “SilentlyContinue”

$webAppName = “<Web Application Url>”
$siteCollection = “<Site Collection Url>”

function Get-ScriptDirectory
{
$Invocation = (Get-Variable MyInvocation -Scope 1).Value
Split-Path $Invocation.MyCommand.Path… 277 more words

PowerShell

The Most Inspiring PowerShell Story Ever

I recently received a wonderful, humbling e-mail from a fellow who’s given me permission to share his story. I hope, after reading this, that you’ll do your best to pass it on – even to your non-technical friends. 608 more words

Tech

PowerShell : Export Custom Properties for Managed Terms

if ((Get-PSSnapin “Microsoft.SharePoint.PowerShell” -ErrorAction SilentlyContinue) -eq $null)

{

Add-PSSnapin “Microsoft.SharePoint.PowerShell”

}

$siteUrl = “http://win-1mah9cmtcg0:2018&#8243;

$outputFile = “<Path to CSV File>”

function Export-CustomProperties() { 156 more words

PowerShell

PowerShell : Import Custom Properties for Managed Terms

if ((Get-PSSnapin “Microsoft.SharePoint.PowerShell” -ErrorAction SilentlyContinue) -eq $null)

{

Add-PSSnapin “Microsoft.SharePoint.PowerShell”

}

$siteUrl = “http://win-1mah9cmtcg0:2018&#8243;

$outputFile = “<Path to CSV File>”

$mmsServiceName = “Managed Metadata Service” 70 more words

PowerShell