Tag Archive | "Powershell"

Build, Sign, and Deploy a Windows 8 Metro App with Powershell

Build, Sign, and Deploy a Windows 8 Metro App with Powershell

Very seldom do I run into a problem and feel like I am the first to encounter it, especially with programming. When developing for Windows 8 I feel that way quite a lot. I have been working on a small script to build, sign, and deploy a metro app into the Metro UI environment.  Below [...] [...more]

Computers Comments (0)

Update SharePoint List Item(s) with Powershell

Update SharePoint List Item(s) with Powershell

Today I was attempting to update every item in a SharePoint list with Powershell, which turned out to be quite the adventure. Looping through the list and grabbing the items was easy, but whenever I modified the item and called the Update() method, it either did absolutely nothing or gave me an error: “Object reference [...] [...more]

Programming Comments (3)

Updating SharePoint Database with PowerShell

Updating SharePoint Database with PowerShell

Recently I needed to enable/disable a database while doing a SharePoint deployment. There is no stsadm command and we had been using a small assembly that used C Sharp to connect to the web application, get the database, and toggle the ableness of it. This worked fine, but I wanted to do it all in [...] [...more]

Programming Comments (1)

STSADM.exe – Copy and Paste == Command Line Error

STSADM.exe – Copy and Paste == Command Line Error

stsadm.exe is a command driven application that I use very often to administrate a SharePoint server via command line.  More specifically, it is very heavily in a PowerShell script I wrote that deploys multiple solutions to SharePoint. The general syntax for stsadm is stsadm -o createsiteinnewdb -url http://sharepointserver More than often I will run into [...] [...more]

Computers, Programming Comments (0)

PowerShell: Copy Directory With Progress Meter

PowerShell: Copy Directory With Progress Meter

Earlier today I thought it would be nice to display a progress meter while copying a directory. After thinking about it for a while I realized that I would need to do something asynchronous, like creating a new thread.  Much to my dismay I found no such thing which was quite a shock considering how [...] [...more]

Computers, Programming Comments (3)

-->