PowerTip: Use PowerShell to Obtain BranchCache Status

Doctor Scripto

Dr Scripto

Summary: Learn how to use Windows PowerShell to obtain the status of BranchCache on a computer running Windows 8.

Hey, Scripting Guy! Question  How can I use Windows PowerShell to simplify the process of troubleshooting issues
          with BranchCache on several desktops?

Hey, Scripting Guy! Answer  Create a CIM session to the troublesome computers, and use the Get-BCStatus function
          to return the status information:

$cim = New-Cimsession –computername c1, c2, c3 –credential nwtraders\administrator

Get-BCStatus –cimsession $cim

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

Leave a comment