Active Directory (AD) viewer and editor.


Active Directory Explorer v1.4

 

Snapshots of an AD database for off-line viewing and comparisons

Introduction

Active Directory Explorer (AD Explorer) is an advanced Active Directory (AD) viewer and editor. You can use AD Explorer to easily navigate an AD database, define favorite locations, view object properties and attributes without having to open dialog boxes, edit permissions, view an object’s schema, and execute sophisticated searches that you can save and re-execute.

AD Explorer also includes the ability to save snapshots of an AD database for off-line viewing and comparisons. When you load a saved snapshot, you can navigate and explore it as you would a live database. If you have two snapshots of an AD database you can use AD Explorer’s comparison functionality to see what objects, attributes and security permissions changed between them.


http://download.sysinternals.com/files/AdExplorer.zip

http://live.sysinternals.com/ADExplorer.exe

Advertisements

How to convert Physical Disk to Virtual Disk


Disk2vhd v1.63

 

How to convert Physical Disk to Virtual Disk

Introduction

Disk2vhd is a utility that creates VHD (Virtual Hard Disk – Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows’ Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion. You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being converted).

The Zip file

http://download.sysinternals.com/files/Disk2vhd.zip

the exe file

 

http://live.sysinternals.com/Disk2vhd.exe

The Disk2vhd user interface lists the volumes present on the system:


It will create one VHD for each disk on which selected volumes reside. It preserves the partitioning information of the disk, but only copies the data contents for volumes on the disk that are selected. This enables you to capture just system volumes and exclude data volumes, for example.

Note: Virtual PC supports a maximum virtual disk size of 127GB. If you create a VHD from a larger disk it will not be accessible from a Virtual PC VM.

To use VHDs produced by Disk2vhd, create a VM with the desired characteristics and add the VHDs to the VM’s configuration as IDE disks. On first boot, a VM booting a captured copy of Windows will detect the VM’s hardware and automatically install drivers, if present in the image. If the required drivers are not present, install them via the Virtual PC or Hyper-V integration components. You can also attach to VHDs using the Windows 7 or Windows Server 2008 R2 Disk Management or Diskpart utilities.

Note: do not attach to VHDs on the same system on which you created them if you plan on booting from them. If you do so, Windows will assign the VHD a new disk signature to avoid a collision with the signature of the VHD’s source disk. Windows references disks in the boot configuration database (BCD) by disk signature, so when that happens Windows booted in a VM will fail to locate the boot disk.

Disk2vhd runs Windows XP SP2, Windows Server 2003 SP1, and higher, including x64 systems.

Here’s a screenshot of a copy of a Windows Server 2008 R2 Hyper-V system running in a virtual machine on top of the system it was made 

from:


 

http://download.sysinternals.com/files/Disk2vhd.zip

 

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

Get-SPDatabase | ForEach-Object {$db=0} {$db +=$_.disksizerequired; $_.name + ” – ” + $_.disksizerequired/1024/1024} {Write-Host “`nTotal Storage (in MB) =” (“{0:n0}” -f ($db/1024/1024))}


How to find SharePoint List and Libraries true Size?


Go to the main page site settings

The go to Storage Metrics
under the

Site Collection Administration

Then check for the size of every site, library and list

Backup and Restore a Site Collection in SharePoint using PowerShell


Backup and Restore a Site Collection in SharePoint using PowerShell

In SharePoint 2010 you can take a backup of a site collection using the Backup-SPSite cmdlet:

Backup-SPSite
http://SPPath
C:\Backup\siteCollection.bak

Restoring a site collection in SharePoint 2010 is just as simple:

Restore-SPSite
http://SPPath
C:\Backup\siteCollection.bak