About
Category Archives: Powershell
Powershell: How to rename all files in a folder
Sometimes you need a fast way to rename a lot of file. With Powershell this is pretty easy. You list all files in the directory and you can use this object with a foreach loop. This script basically changes the … Continue reading
Posted in IT, Microsoft, Powershell, Software, Work
Tagged change, change extentions, extention, extentions, file, files, foreach, get-content, Microsoft, PowerShell, rename, rename files, rename-item, renaming, Windows, Windows Powershell
Leave a comment
How to create a Powershell v2 Module
If you need some functions a lot in different scripts you create maybe external function files. This is a good way to clean up your code. To get this functions running in your mainscript.ps1 you can call this other file … Continue reading
Posted in IT, Microsoft, Powershell, Software, Windows Server, Work
Tagged dotsourced, Import-Module, Microsoft, Module, Modules, PowerShell, Powershell Module, Scripts, Windows, Windows Powershell
Leave a comment
Still love my iPad
I still love my iPad. Now I really start to work with it. It keeps my life simple and easy. First I start with a daily briefing with my todos (Things) and events for today. I also read a lot of … Continue reading
Posted in Apple, Fun, Hardware, Home, IT, Microsoft, Powershell, Software, Web, Windows Server, Work, iPad, iPhone
Tagged Apple, Apple iPad, Apple iPhone, Dreambox, Evernote, Evernote for iPad, Google Reader, iPad, iPad RDP, iPad Remote, iPhone, iPowershell, iTap, iTap RDP, iTap RDP for iPad, iTunes, Microsoft, Newsrack, Newsrack for iPad, Notebook, PowerShell, RDP, remote, Things, Things for iPad
Leave a comment
Powershell: Changing registry key value
After posting Pagefile size bigger than 4095MB on Windows Server 2003 I had the Idea to change this registry values with powershell. First start powershell You can get all PS Drives with the command Get-PSDrive Now you see the drive … Continue reading
Posted in IT, Microsoft, Powershell, Software, Windows, Windows Server, Windows Server 2003, Work
Tagged Changing, get-psdrive, HKLM, key value, Memory, Microsoft, Microsoft Powershell, PowerShell, registry, registry key value, Set-ItemProperty, Set-Location, Values, Windows, Windows Registry
1 Comment
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 automation.
Posted in Hosting, IT, Microsoft, Powershell, Sharepoint, Software, Web, Windows Server, Windows Server 2008 R2, Work
Tagged Genotec, Genotec AG, get-SPsites, Hosted Sharepoint, Hosted Sharepoint 2010, Hosting, Microsoft, Microsoft Powershell, PowerShell, Server, Sharepoint, Sharepoint 2010, Sharepoint Foundation Server 2010, Sharepoint Server 2010, Site Collections, Sites, SPSites, Windows Powershell, Windows Server
2 Comments
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 content from the XML … Continue reading
Posted in IT, Microsoft, Powershell, Server Core, Software, Windows, Windows Server, Work
Tagged add, Add Data to XML, create, Microsoft, Microsoft Powershell, Object, PowerShell, Remove, Remove data from XML, Save, Save XML Object, Saving data to XML, Server, Windows, Windows Powershell, Working, XML, XML Powershell
Leave a comment

