pondělí 20. května 2013

Powershell - deduplikace ve WIN 2012

Jen pár poznámek:
... jak nainstalovat deduplikaci
... nastavit deduplikaci
... zapnout deduplikaci
a jaký je stav deduplikace (vše v prostředí MS Windows Server 2012).

INSTALACE DATA DEDUPLIKACE

PS C:\> Import-Module ServerManager
PS C:\> Add-WindowsFeature -Name FS-Data-Deduplication
PS C:\> Import-Module Deduplication

KONFIGURACE DEDUPLIKACE NA DISKU X:
PS C:\> Enable-DedupVolume X:
PS C:\> Set-Dedupvolume X: -MinimumFileAgeDays 0
PS C:\> Set-DedupSchedule -Name "BackgroundOptimization", "ThroughputOptimization", "ThroughputOptimization-2" -Enabled $false


START DEDUPLIKACEPS C:\> Start-DedupJob –Volume X: –Type Optimization

STAV DEDUPLIKACEPS C:\> Get-DedupStatus


-------------------------------------------------------------------------------------
Všechny PowerShell CMDLETY pro DEDUPLIKACI

CmdletDescription
Disables further data deduplication activity on one or more volumes.
Enables data deduplication on the specified volumes, using default settings.
Returns status and information for currently running or queued deduplication jobs.
Returns a DeduplicationMetadata object for every volume that has data deduplication metadata.
Returns the DeduplicationJobSchedule objects defined on the system.
Returns a DeduplicationStatus object for every volume that has data deduplication metadata.
Returns a DeduplicationVolume object for each volume that has data deduplication metadata.
Measures deduplication metadata for files in a set of folders on the same volume.
Creates a new data deduplication schedule and returns a DeduplicationSchedule object.
Deletes the specified DeduplicationSchedule object.
Sets data deduplication schedule settings.
Sets data deduplication volume settings.
Queues a new data deduplication job of the specified type for the specified volumes.
Cancels one or more specified data deduplication jobs.
Scans one or more specified volumes to compute fresh data deduplication savings information and returns a DeduplicationStatus object.

noteNote
To list all the cmdlets that are available, use the Get-Command –Module Deduplication cmdlet.
For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

● Get-Help <cmdlet name> -Detailed
● Get-Help <cmdlet name> -Examples
● Get-Help <cmdlet name> -Full

Žádné komentáře:

Okomentovat