Set-DPMGlobalProperty
設定 DPM 安裝的全域屬性。
Syntax
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-IsNetworkChecksumRequired <Boolean>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-TruncateSharePointDbLogs <Boolean>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-LibraryRefreshInterval <Int32>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-AllowLocalDataProtection <Boolean>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-ExchangeSCRProtection <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-RegisteredWriters <Guid[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-ConsiderForAutoDeployment <Boolean>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-MaxCapacityForClientAutoDeployment <Int32>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-KnownVMMServers <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-HyperVPagefileExclusions <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-DPMGlobalProperty
[[-DPMServerName] <String>]
-DPMStorageVolumeExclusion <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Set-DPMGlobalProperty Cmdlet 會設定 System Center - Data Protection Manager (DPM) 安裝的全域屬性。
範例
範例 1:排除頁面檔案 VHD
PS C:\>Set-DPMGlobalProperty -DPMServerName "Contoso-DPMServer" -HyperVPagefileExclusions "*_pagefile.vhd"
此命令會排除所有受保護的 VHD,其中包含名為 Contoso-DPMServer 之伺服器上的字串_pagefile.vhd。
範例 2:使用通配符表達式排除排除 VHD
PS C:\>Set-DPMGlobalProperty -DPMServerName "Contoso-DPMServer" -HyperVPagefileExclusions "*_pagefile.vhd,*mypgf*.vhd*"
此命令會排除其名稱中包含 mypgf 和 pagefile.vhd 字串的 VHD 檔案。
範例 3:移除所有 VHD 排除專案
PS C:\>Set-DPMGlobalProperty -DPMServerName "Contoso-DPMServer" -HyperVPagefileExclusions ""
此命令會指定 HyperVPagefileExclusions 參數的空白清單,以移除所有現有的排除專案。
範例 4:排除磁碟區無法供 DPM 使用
PS C:\>Set-DPMGlobalProperty -DPMServerName "Contoso-DPMServer" -DPMStorageVolumeExclusion "F:,C:\MountPoint1"
此命令會排除 F:\ 和 C:\MountPoint1,以儲存磁碟區的形式提供給 DPM。
參數
-AllowLocalDataProtection
指出 DPM 伺服器是否可以保護其安裝所在相同電腦上的資料源。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
在執行 Cmdlet 前提示您確認。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConsiderForAutoDeployment
指出是否考慮 DPM 伺服器進行客戶端保護。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DPMServerName
指定這個 Cmdlet 作用所在的 DPM 伺服器名稱。
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DPMStorageVolumeExclusion
指定要排除的磁碟區和載入點名稱,使其無法供 DPM 作為記憶體目標使用。 若要指定多個磁碟區或裝入點的名稱,請個別列出它們,並以逗號分隔。 適用的 SC 2016 DPM UR4 更新版本。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExchangeSCRProtection
指定 Microsoft Exchange Server 待命連續復寫 (SCR) 伺服器的名稱。 若要指定多部伺服器的名稱,請個別列出它們,並以逗號分隔。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HyperVPagefileExclusions
指定虛擬硬碟 (VHD) 頁面檔的名稱,以從firstref_virtualname數據源的備份作業中排除。 若要指定多個 VHD 分頁檔的名稱,請個別列出它們,並以逗號分隔。 此參數也接受通配符值。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IsNetworkChecksumRequired
指出是否套用總和檢查碼來驗證透過網路傳輸的數據。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-KnownVMMServers
指定與 DPM 通訊的vmm12sp1_long伺服器,以提供虛擬機行動案例的支援。 如果您指定此參數,DPM 會儲存 vmm12short 伺服器資訊,並設定其服務來與 vmm12short 通訊。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LibraryRefreshInterval
指定收集共享連結庫資訊的重新整理間隔。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MaxCapacityForClientAutoDeployment
指定 DPM 伺服器可保護的用戶端電腦數目上限。 設定此值可保證如果啟用自動部署,DPM 可藉由指定 ConsiderForAutoDeployment 參數來保護合理的用戶端電腦數目。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RegisteredWriters
僅供內部使用。
Type: | Guid[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TruncateSharePointDbLogs
指出是否要在復寫期間截斷 SharePoint 資料庫記錄。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
顯示執行 Cmdlet 後會發生的情況。 Cmdlet 並不會執行。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |