Tag: Microsoft Powershell

Powershell: Changing registry key value

Microsoft, PowerShell, Windows, Windows Server • 2 Comments

After posting Pagefile size bigger than 4095MB on Windows Server 2003 I had the Idea to change this...
Read More Read More: Powershell: Changing registry key value

Powershell: Count Sharepoint Sites on Sharepoint Server 2010

Hosting, Microsoft, Office 365, PowerShell, Windows Server • 4 Comments

This is a very small line of code to count Sharepoint 2010 Site Collections with Powershell. (Get-SPSite -Limit all).Count By the...
Read More Read More: Powershell: Count Sharepoint Sites on Sharepoint Server 2010

Powershell: Working with XML part 2

Microsoft, PowerShell, Windows, Windows Server • 3 Comments

After my first post (Powershell: Parsing XML part 1) about working with XML and Powershell, I have create this second post which describes...
Read More Read More: Powershell: Working with XML part 2

PowerShell: Count your Code lines

Microsoft, PowerShell, Windows Server • One Comment

After Coding some lines in a lot of different files you wanna know how much lines you have coded....
Read More Read More: PowerShell: Count your Code lines

Powershell: Simple retry logic

Hosting, Microsoft, PowerShell, Windows Server • 12 Comments

I am working on some larger PowerShell scripts right now and so I needed to create a simple retry logic for sending web request to a...
Read More Read More: Powershell: Simple retry logic

Powershell: Get Sharepoint 2010 Site Collection Storage Usage

Microsoft, Office 365, PowerShell, Windows Server • 4 Comments

If you need to get the Storage Usage from a Sharepoint 2010 Site Collection, you can do this with Powershell. 1. Start SharePoint 2010...
Read More Read More: Powershell: Get Sharepoint 2010 Site Collection Storage Usage

Powershell: check variable for null

Microsoft, PowerShell • 31 Comments

If you are working a lot with PowerShell parameters and inputs you need to check if variables have...
Read More Read More: Powershell: check variable for null

Powershell: Send Tweet

Microsoft, PowerShell • 4 Comments

For some reason your Powershell script should send a Tweet. With this function Powershell will send a message to Twitter. function...
Read More Read More: Powershell: Send Tweet

Powershell: Parsing XML part 1

Microsoft, PowerShell, Windows • 4 Comments

In my company, we started to use XML files as configuration files. So we use it for some configurations of servers or automation for our...
Read More Read More: Powershell: Parsing XML part 1

Powershell: Invoke-Expression

Microsoft, PowerShell • One Comment

Using the Invoke-Expression Cmdlet: The Invoke-Expression cmdlet provides one way to run a script...
Read More Read More: Powershell: Invoke-Expression
Close Search Window
Close