Usage: hex2dec [hex|decimal] Introduction Tired of running Calc everytime you want to convert a hexadecimal number to decimal Now you can convert hex to decimal and vice versa with this simple command-line utility. Usage: hex2dec [hex|decimal] Include x or 0x as the prefix of the number to specify a hexadecimal value. e.g. To translate 1233 decimal to... Continue Reading →

Displays relevant information about a Windows computer on the desktop’s background, such as the computer name, IP address, service pack version, and more Introduction How many times have you walked up to a system in your office and needed to click through several diagnostic windows to remind yourself of important aspects of its configuration, such as its name, IP address, or operating system version? If you manage multiple computers you probably need BGInfo. It automatically displays relevant information... Continue Reading →

PowerShell notes

********************** Windows PowerShell Transcript Start Start time: 20100915124020 Username : CONTOSO\sp_farm Machine     : SHAREPOINT (Microsoft Windows NT 6.1.7600.0) ********************** Transcript started, output file is C:\Users\sp_farm\Documents\PowerShell_transc ript.20100915124020.txt PS C:\Users\sp_farm> notepad PS C:\Users\sp_farm> get-command -Noun spstate* CommandType Name Definition ----------- ---- ---------- Cmdlet Dismount-SPStateServiceDatabase Dismount-SPStateServiceDatab... Cmdlet Get-SPStateServiceApplication Get-SPStateServiceApplicatio... Cmdlet Get-SPStateServiceApplicatio... Get-SPStateServiceApplicatio... Cmdlet Get-SPStateServiceDatabase Get-SPStateServiceDatabase [... Cmdlet Initialize-SPStateServiceDat...... Continue Reading →

Using PowerShell to determine SharePoint database size

Open the Sharepoint management shell Then Run the following command To get list of databases Get-SPDatabase The following command to get list of every database used and its Size Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name, @{Label ="Size in MB"; Expression = {$_.disksizerequired/1024/1024}} To know how much total space is needed Run the following... Continue Reading →

Scripts used for administration tasks

Add-SPSite: Adds a new SharePoint site Import-SPSite: Imports a site from a backup file Export-SPSite: Exports a site to a backup file Get-SPWeb: Gets a SharePoint web site Remove-SPSite: Removes a site from the site collection Add-SPList: Creates a new SharePoint list Display-SPList: Displays all lists Remove-SPList: Removes a list Get-SPView: Gets a SharePoint view Display-SPItemInformation: Displays detailed item information Set-SPItem: Modifies a list item CheckIn-SPDocument: Checks... Continue Reading →

How to get the name of the application pools when they are using GUIDs?

How to get the name of the application pools when they are using GUIDs? SharePoint has decided to use GUIDs for this Name. Within Central Administration the Application Pools are displayed using a SharePoint only property – Name, which is actually a Display Name (e.g. SharePoint Web Services Default). The GUIDs used are, wait for... Continue Reading →

Blog at

Up ↑

%d bloggers like this: