1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| If (!(Get-module MicrosoftTeams )) { Import-Module -name 'MicrosoftTeams' }
If (!(Get-module Appvity.eTask.PowerShell)) { Import-Module -name 'Appvity.eTask.PowerShell' }
$myDomain = "teams.appvity.com" $myChannelName = "Team Playground V2" $myTeam = "19:ca7641c904da4fdf92820722ff6489fc@thread.skype" $myChannel = "19:2645ed60e7d941ddb954f5e09366bb48@tGethread.skype" $myChannelName = "Anade Project" $myGroupId = "2aee63b0-a616-4d52-b22b-84c971ba0d25" $myLogPath = "E:\Data\My Documents\Projects\PowerShell\eTask\TestOneLog.txt"
$myAccount = "oliver@anadea.com"
$userCredential = Get-Credential -UserName $myAccount -Message "Type the password." Connect-MicrosoftTeams -Credential $userCredential
Connect-eTask -Domain $myDomain -ErrorLogPath $myLogPath
|
Comment