PowerShell 复制 Set-Volume [-NewFileSystemLabel <String>] -UniqueId <String> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]PowerShell 复制 Set-Volume -UniqueId <String> [-DedupMode <DedupMode>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int...
PowerShell 复制 Set-VolumeScrubPolicy [-DriveLetter] <Char[]> [[-Enable] <Boolean>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [<CommonParameters>]PowerShell 复制 Set-VolumeScrubPolicy -ObjectId <String[]> [[-Enable] <Boolean>] [-CimSession <...
PowerShell Ikkopja PS C:\> $VMHost = Get-SCVMHost -ComputerName "VMHost02.Contoso.com" PS C:\> $StorageVols = Get-SCStorageVolume -VMHost $VMHost PS C:\> Set-SCStorageVolume -StorageVolume $StorageVols[1] -AvailableForPlacement $True...
PowerShell PS C:\>$VMHost=Get-SCVMHost-ComputerName"VMHost01.Contoso.com"PS C:\>$StorageVol=Get-SCStorageVolume-VMHost$VMHostPS C:\>Set-SCStorageVolume-StorageVolume$StorageVol[0]-AvailableForPlacement$True The first command gets the host object named VMHost01 and stores the object in ...
PowerShell 复制 PS C:\> Set-WssClientBackupVolumeExcludedFolder -ComputerName "Workstation073" -VolumeGuid b6b093a2-1860-4172-a4a5-07ce2aebfa13 -ExcludedFolders (@("Temp\","Downloads\") -as [string[]]) 相关主题 Disable-WssClientBackupVolume Enable-WssClientBackupVolume Get-WssClientBack...
powershell .\SetChannelsVolume.ps1 -Volume 25 Channels count - 6 Current master volume - 20% Set master volume to - 25% Channel 1 volume - 20%, set it to 25% Channel 2 volume - 20%, set it to 25% Channel 3 volume - 20%, set it to 25% Channel 4 volume - 20%, set it to...
使用setvolumemountpointa命令需要具有管理员权限,可以通过以管理员身份运行命令提示符或者PowerShell来执行该命令。 以下是一个示例: 假设我们要将"E:\Data"这个卷映射到"D:\Mount"这个文件夹,我们可以使用以下命令: setvolumemountpointa E:\Data D:\Mount 执行完上述命令后,计算机上的"E:\Data"卷将在文件资源...
PowerShell 复制 Set-DedupVolume [-VolumeId <String[]>] [-OptimizeInUseFiles] [-OptimizePartialFiles] [-NoCompress <Boolean>] [-Verify <Boolean>] [-MinimumFileAgeDays <UInt32>] [-MinimumFileSize <UInt32>] [-ChunkRedundancyThreshold <UInt32>] [-ExcludeFolder <String[]>] [-ExcludeFileType...
PowerShell 复制 Set-WssClientBackupVolumeExcludedFolder [[-ExcludedFolders] <System.Collections.Generic.ICollection`1[System.String]>] [-Clear] [-VolumeGuid] <Guid> [-ComputerName] <String> [-WhatIf] [-Confirm] [<CommonParameters>]PowerShell 复制 ...
PowerShell Set-SCStorageVolume[-StorageVolume] <StorageVolume> [-AvailableForPlacement <Boolean>] [-DedupMode <DedupMode>] [-RunAsynchronously] [-PROTipID <Guid>] [-JobVariable <String>] [<CommonParameters>] 妍扭我扼忘扶我快 妞抉技忘扶忱抖快找Set-SCStorageVolume我戒技快扶攸快找 扭忘把...