none
Logoff users using PowerShell RRS feed

  • Question

  • Need some expert advise using Get-BrokerSession, Get-Content and Stop-BrokerSession. In attempting to logoff users using PowerShell, the below command line works fine for a single user:

    PS C:\> Get-BrokerSession -UserName Domain\Username | Stop-BrokerSession

    I would like to replace the Domain\Username with the contents of a file (users.txt) either using Get-Content or something else.

    • Moved by Bill_Stewart Tuesday, November 7, 2017 9:07 PM This is not "teach me basics from groud zero" forum
    Monday, September 4, 2017 4:13 AM

All replies