다음을 통해 공유


비즈니스용 Skype Online 커넥터에서 Teams PowerShell 모듈로 마이그레이션

Teams PowerShell 모듈은 PowerShell 명령줄에서 직접 Teams를 관리하기 위한 전체 cmdlet 집합을 제공합니다. 관리자는 Teams 관리를 위해 비즈니스용 Skype Online 커넥터를 요구하지 않습니다.

참고

Teams 관리자는 메시지 센터 게시물(MC244740, 2021년 3월 16일자)을 통해 알림을 받았습니다. MC250940, 2021년 4월 16일자) 이 변경에 대해 알아봅니다.

마이그레이션 방법

비즈니스용 Skype Online 커넥터를 사용하여 Teams PowerShell 모듈로 마이그레이션하는 것은 쉽고 간단합니다. 아래 단계에서는 이 마이그레이션을 수행하는 방법을 설명합니다.

  1. 최신 Teams PowerShell 모듈을 설치합니다. 단계는 Microsoft Teams PowerShell 설치를 참조하세요.

  2. 비즈니스용 Skype Online 커넥터를 제거합니다. 제거하려면 제어판 프로그램 및 기능으로 이동하여 비즈니스용 Skype 온라인을 선택하고 모듈을 Windows PowerShell 다음 제거를 선택합니다.

  3. PowerShell 스크립트에서 에서 참조되는 모듈 이름을 변경합니다.Import-Module

    SkypeOnlineConnector 또는 LyncOnlineConnector 를 로 지정합니다 MicrosoftTeams.

    예를 들어 를 로 변경 Import-Module -Name SkypeOnlineConnector 합니다 Import-Module -Name MicrosoftTeams.

  4. Teams PowerShell 모듈 2.0 이상을 사용하는 경우 를 참조하는 스크립트를 업데이트합니다 New-CsOnlineSessionConnect-MicrosoftTeams. Import-PsSession는 비즈니스용 Skype 온라인 원격 PowerShell 세션을 설정하는 데 더 이상 필요하지 않습니다.

       # When using the Skype for Business online connector
    
         # Establishing a session
         Import-Module SkypeOnlineConnector [LyncOnlineConnector]
         $credential = Get-Credential
         $SkypeSession = New-CsOnlineSession -Credential $credential
         Import-Session $SkypeSession
    
         # Example getting tenant details
         Get-csTenant
    
         # Disconnecting and closing the Session 
         Get-PsSession $SkypeSession | Remove-PsSession
    
       # When using Teams PowerShell Module 2.0 or later
    
         # Establishing a session
         Import-Module MicrosoftTeams
         $credential = Get-Credential
         Connect-MicrosoftTeams -Credential $credential
    
         # Example getting tenant details
         Get-csTenant
    
         # Disconnecting and closing the Session  
         Disconnect-MicrosoftTeams
    

Microsoft Teams PowerShell 설치

Teams PowerShell을 사용하여 Teams 관리

Teams PowerShell 릴리스 정보

Microsoft Teams cmdlet 참조

비즈니스용 Skype cmdlet 참조