Tag
Microsoft
1,363 articles · Page 135
-
Powershell: Count Sharepoint Sites on Sharepoint Server 2010
This is a very small line of code to count Sharepoint 2010 Site Collections with Powershell. (Get-SPSite -Limit all).Count By the way, we at Genotec AG are offering a Hosted Sharepoint 2010 solution based on Powershell…
-
Powershell: Working with XML part 2
After my first post (Powershell: Parsing XML part 1) about working with XML and Powershell, I have create this second post which describes how to create a XML file, Add content to the XML file, remove…
-
PowerShell: Count your Code lines
After Coding some lines in a lot of different files you wanna know how much lines you have coded. There are two (I am sure there are even more) ways to do that. The first one…
-
Powershell: Simple retry logic
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 server. This here gives you a simple retry logic for…
-
Powershell: if Statement basics
The if-statement is pretty important if you are creating PowerShell scripts. So I created this post to get some basic information about how to use if-else statements with PowerShell. PowerShell if-else statement basics Like many other…
-
Solved: Cannot download File from IIS6 FTP
Today we a ticket which was escalated by the second level support to the engineering. A customer could not download, remove or rename the file via FTP. The Hosting is running on a Windows Server 2003…
-
Howto: Update SCVMM 2008 to SCVMM 2008 R2
Update from Microsoft System Center Virtual Machine Manager 2008 to Micorsoft System Center Virtual Machine Manager 2008 R2 is pretty simple. Yesterday I updated the SCVMM on our environment. Copy the SCVMM 2008 R2 on the…
-
HowTo: Install Roles and Features Windows Server 2008 R2 Core (Shell)
This Guide should help you to install Roles and Features on Windows Server 2008 R2 per shell or on a Windows Server 2008 R2 Core Server. Under Windows Server 2008 you could install Roles and Features with…
-
Powershell: Get Sharepoint 2010 Site Collection Storage Usage
If you need to get the Storage Usage from a Sharepoint 2010 Site Collection, you can do this with Powershell. 1. Start SharePoint 2010 Management Shell or Powershell with the Sharepoint Snapin by: Add-PSSnapin “Microsoft.SharePoint.PowerShell” 2.…
-
Powershell: Send Tweet
For some reason your Powershell script should send a Tweet. With this function Powershell will send a message to Twitter. function Send-Tweet($Message) { #Twitter Login $Twitter_UserName = “yourname” $Twitter_Password = “yourpassword” $Twitter_URL = “https://twitter.com/statuses/update.xml?status=” $Twitter_Request =…



