殼層 BranchCache 網路及 Windows PowerShell 命令BranchCache Network Shell and Windows PowerShell Commands

適用於:Windows Server(以每年次管道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

在 Windows Server 2016,您可以設定和管理 BranchCache BranchCache 使用 Windows PowerShell 或命令網路 Shell (Netsh)。In Windows Server 2016, you can configure and manage BranchCache by using either Windows PowerShell or the Network Shell (Netsh) commands for BranchCache.

在未來的 Windows 版本,Microsoft 可能會移除 netsh 功能 BranchCache。In future versions of Windows, Microsoft might remove the netsh functionality for BranchCache. 如果您目前使用 netsh 設定及管理 BranchCache 和其他網路技術 Microsoft 建議您轉換到 Windows PowerShell。Microsoft recommends that you transition to Windows PowerShell if you currently use netsh to configure and manage BranchCache and other networking technologies.

Windows PowerShell 和 netsh 命令參照位於在下列位置。Windows PowerShell and netsh command references are at the following locations. 雖然這兩個命令參照已更早版本與 Windows Server 2016 發行的作業系統,這些參考是此作業系統的正確的。Although both command references were published for operating systems earlier than Windows Server 2016, these references are accurate for this operating system.

提示

Windows PowerShell 命令提示字元中,檢視 BranchCache Windows PowerShell 命令的清單,輸入Get-Command -Module BranchCache在 Windows PowerShell 命令提示字元中,,然後按下 ENTER。To view a list of Windows PowerShell commands for BranchCache at the Windows PowerShell prompt, type Get-Command -Module BranchCache at the Windows PowerShell prompt, and then press ENTER.