Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\Windows\system32> Import-Module -Name "MicrosoftTeams" -RequiredVersion 1.1.8 -Verbose
- VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\MicrosoftTeams.psd1'.
- VERBOSE: Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted versions.
- VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\GetTeamSettings.format.ps1xml'.
- VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\PolicyPackage.format.ps1xml'.
- VERBOSE: Populating RepositorySourceLocation property for module MicrosoftTeams.
- VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\net472\Microsoft.TeamsCmdlets.PowerShell.Connect.dll'.
- VERBOSE: Importing cmdlet 'Connect-MicrosoftTeams'.
- VERBOSE: Importing cmdlet 'Disconnect-MicrosoftTeams'.
- VERBOSE: Importing cmdlet 'New-CsOnlineSession'.
- VERBOSE: Importing cmdlet 'Get-CsOnlinePowerShellEndpoint'.
- VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\net472\Microsoft.TeamsCmdlets.PowerShell.Custom.dll'.
- VERBOSE: Importing cmdlet 'Add-TeamChannelUser'.
- VERBOSE: Importing cmdlet 'Add-TeamsAppInstallation'.
- VERBOSE: Importing cmdlet 'Add-TeamUser'.
- VERBOSE: Importing cmdlet 'Get-CsPolicyPackage'.
- VERBOSE: Importing cmdlet 'Get-CsUserPolicyPackage'.
- VERBOSE: Importing cmdlet 'Get-CsUserPolicyPackageRecommendation'.
- VERBOSE: Importing cmdlet 'Get-Team'.
- VERBOSE: Importing cmdlet 'Get-TeamChannel'.
- VERBOSE: Importing cmdlet 'Get-TeamChannelUser'.
- VERBOSE: Importing cmdlet 'Get-TeamsApp'.
- VERBOSE: Importing cmdlet 'Get-TeamsAppInstallation'.
- VERBOSE: Importing cmdlet 'Get-TeamTargetingHierarchyStatus'.
- VERBOSE: Importing cmdlet 'Get-TeamUser'.
- VERBOSE: Importing cmdlet 'Grant-CsGroupPolicyPackageAssignment'.
- VERBOSE: Importing cmdlet 'Grant-CsUserPolicyPackage'.
- VERBOSE: Importing cmdlet 'New-CsBatchPolicyPackageAssignmentOperation'.
- VERBOSE: Importing cmdlet 'New-CsCustomPolicyPackage'.
- VERBOSE: Importing cmdlet 'New-Team'.
- VERBOSE: Importing cmdlet 'New-TeamChannel'.
- VERBOSE: Importing cmdlet 'New-TeamsApp'.
- VERBOSE: Importing cmdlet 'Remove-CsCustomPolicyPackage'.
- VERBOSE: Importing cmdlet 'Remove-Team'.
- VERBOSE: Importing cmdlet 'Remove-TeamChannel'.
- VERBOSE: Importing cmdlet 'Remove-TeamChannelUser'.
- VERBOSE: Importing cmdlet 'Remove-TeamsApp'.
- VERBOSE: Importing cmdlet 'Remove-TeamsAppInstallation'.
- VERBOSE: Importing cmdlet 'Remove-TeamTargetingHierarchy'.
- VERBOSE: Importing cmdlet 'Remove-TeamUser'.
- VERBOSE: Importing cmdlet 'Set-Team'.
- VERBOSE: Importing cmdlet 'Set-TeamArchivedState'.
- VERBOSE: Importing cmdlet 'Set-TeamChannel'.
- VERBOSE: Importing cmdlet 'Set-TeamPicture'.
- VERBOSE: Importing cmdlet 'Set-TeamsApp'.
- VERBOSE: Importing cmdlet 'Set-TeamTargetingHierarchy'.
- VERBOSE: Importing cmdlet 'Update-CsCustomPolicyPackage'.
- VERBOSE: Importing cmdlet 'Update-TeamsAppInstallation'.
- VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.psd1'.
- VERBOSE: Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted versions.
- VERBOSE: Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\bin\Microsoft.Teams.Config.private.dll'.
- VERBOSE: Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\bin\Microsoft.Teams.Config.private.dll'.
- VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.format.ps1xml'.
- VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.Batch.format.ps1xml'.
- VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.Group.format.ps1xml'.
- VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.User.format.ps1xml'.
- VERBOSE: Populating RepositorySourceLocation property for module Microsoft.Teams.Config.
- VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\./Microsoft.Teams.Config.psm1'.
- Import-Module : Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.psm1:3 char:11
- + $null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Microso ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
- + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
- Unable to find type [Microsoft.Teams.Config.Cmdlets.Module].
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.psm1:6 char:15
- + $instance = [Microsoft.Teams.Config.Cmdlets.Module]::Instance
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (Microsoft.Teams.Config.Cmdlets.Module:TypeName) [], RuntimeException
- + FullyQualifiedErrorId : TypeNotFound
- Import-Module : Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\custom\Microsoft.Teams.Config.custom.psm1:3 char:11
- + $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\ ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
- + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
- Import-Module : Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\internal\Microsoft.Teams.Config.internal.psm1:3 char:11
- + $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\ ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
- + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
- Unable to find type [Microsoft.Teams.Config.Cmdlets.Module].
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\internal\Microsoft.Teams.Config.internal.psm1:6 char:15
- + $instance = [Microsoft.Teams.Config.Cmdlets.Module]::Instance
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (Microsoft.Teams.Config.Cmdlets.Module:TypeName) [], RuntimeException
- + FullyQualifiedErrorId : TypeNotFound
- Get-ScriptCmdlet : The term 'Get-ScriptCmdlet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
- is correct and try again.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\internal\Microsoft.Teams.Config.internal.psm1:35 char:20
- + $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath
- + ~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (Get-ScriptCmdlet:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- Get-ScriptCmdlet : The term 'Get-ScriptCmdlet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
- is correct and try again.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\internal\Microsoft.Teams.Config.internal.psm1:36 char:56
- + ... -ModuleMember -Function $cmdletNames -Alias (Get-ScriptCmdlet -Script ...
- + ~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (Get-ScriptCmdlet:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- Get-ScriptCmdlet : The term 'Get-ScriptCmdlet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
- is correct and try again.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\custom\Microsoft.Teams.Config.custom.psm1:16 char:34
- + Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSSc ...
- + ~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (Get-ScriptCmdlet:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- Get-ScriptCmdlet : The term 'Get-ScriptCmdlet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
- is correct and try again.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.psm1:42 char:20
- + $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath
- + ~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (Get-ScriptCmdlet:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- Get-ScriptCmdlet : The term 'Get-ScriptCmdlet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
- is correct and try again.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.psm1:43 char:56
- + ... -ModuleMember -Function $cmdletNames -Alias (Get-ScriptCmdlet -Script ...
- + ~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (Get-ScriptCmdlet:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- You cannot call a method on a null-valued expression.
- At C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\Microsoft.Teams.Config.psm1:47 char:3
- + $instance.Init();
- + ~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.8\net472\Microsoft.TeamsCmdlets.PowerShell.Custom.dll'.
- VERBOSE: Exporting cmdlet 'Add-TeamChannelUser'.
- VERBOSE: Exporting cmdlet 'Add-TeamsAppInstallation'.
- VERBOSE: Exporting cmdlet 'Add-TeamUser'.
- VERBOSE: Exporting cmdlet 'Get-CsPolicyPackage'.
- VERBOSE: Exporting cmdlet 'Get-CsUserPolicyPackage'.
- VERBOSE: Exporting cmdlet 'Get-CsUserPolicyPackageRecommendation'.
- VERBOSE: Exporting cmdlet 'Get-Team'.
- VERBOSE: Exporting cmdlet 'Get-TeamChannel'.
- VERBOSE: Exporting cmdlet 'Get-TeamChannelUser'.
- VERBOSE: Exporting cmdlet 'Get-TeamsApp'.
- VERBOSE: Exporting cmdlet 'Get-TeamsAppInstallation'.
- VERBOSE: Exporting cmdlet 'Get-TeamTargetingHierarchyStatus'.
- VERBOSE: Exporting cmdlet 'Get-TeamUser'.
- VERBOSE: Exporting cmdlet 'Grant-CsGroupPolicyPackageAssignment'.
- VERBOSE: Exporting cmdlet 'Grant-CsUserPolicyPackage'.
- VERBOSE: Exporting cmdlet 'New-CsBatchPolicyPackageAssignmentOperation'.
- VERBOSE: Exporting cmdlet 'New-CsCustomPolicyPackage'.
- VERBOSE: Exporting cmdlet 'New-Team'.
- VERBOSE: Exporting cmdlet 'New-TeamChannel'.
- VERBOSE: Exporting cmdlet 'New-TeamsApp'.
- VERBOSE: Exporting cmdlet 'Remove-CsCustomPolicyPackage'.
- VERBOSE: Exporting cmdlet 'Remove-Team'.
- VERBOSE: Exporting cmdlet 'Remove-TeamChannel'.
- VERBOSE: Exporting cmdlet 'Remove-TeamChannelUser'.
- VERBOSE: Exporting cmdlet 'Remove-TeamsApp'.
- VERBOSE: Exporting cmdlet 'Remove-TeamsAppInstallation'.
- VERBOSE: Exporting cmdlet 'Remove-TeamTargetingHierarchy'.
- VERBOSE: Exporting cmdlet 'Remove-TeamUser'.
- VERBOSE: Exporting cmdlet 'Set-Team'.
- VERBOSE: Exporting cmdlet 'Set-TeamArchivedState'.
- VERBOSE: Exporting cmdlet 'Set-TeamChannel'.
- VERBOSE: Exporting cmdlet 'Set-TeamPicture'.
- VERBOSE: Exporting cmdlet 'Set-TeamsApp'.
- VERBOSE: Exporting cmdlet 'Set-TeamTargetingHierarchy'.
- VERBOSE: Exporting cmdlet 'Update-CsCustomPolicyPackage'.
- VERBOSE: Exporting cmdlet 'Update-TeamsAppInstallation'.
- VERBOSE: Exporting cmdlet 'Connect-MicrosoftTeams'.
- VERBOSE: Exporting cmdlet 'Disconnect-MicrosoftTeams'.
- VERBOSE: Exporting cmdlet 'New-CsOnlineSession'.
- VERBOSE: Exporting cmdlet 'Get-CsOnlinePowerShellEndpoint'.
- VERBOSE: Exporting cmdlet 'Add-TeamChannelUser'.
- VERBOSE: Exporting cmdlet 'Add-TeamsAppInstallation'.
- VERBOSE: Exporting cmdlet 'Add-TeamUser'.
- VERBOSE: Exporting cmdlet 'Get-CsPolicyPackage'.
- VERBOSE: Exporting cmdlet 'Get-CsUserPolicyPackage'.
- VERBOSE: Exporting cmdlet 'Get-CsUserPolicyPackageRecommendation'.
- VERBOSE: Exporting cmdlet 'Get-Team'.
- VERBOSE: Exporting cmdlet 'Get-TeamChannel'.
- VERBOSE: Exporting cmdlet 'Get-TeamChannelUser'.
- VERBOSE: Exporting cmdlet 'Get-TeamsApp'.
- VERBOSE: Exporting cmdlet 'Get-TeamsAppInstallation'.
- VERBOSE: Exporting cmdlet 'Get-TeamTargetingHierarchyStatus'.
- VERBOSE: Exporting cmdlet 'Get-TeamUser'.
- VERBOSE: Exporting cmdlet 'Grant-CsGroupPolicyPackageAssignment'.
- VERBOSE: Exporting cmdlet 'Grant-CsUserPolicyPackage'.
- VERBOSE: Exporting cmdlet 'New-CsBatchPolicyPackageAssignmentOperation'.
- VERBOSE: Exporting cmdlet 'New-CsCustomPolicyPackage'.
- VERBOSE: Exporting cmdlet 'New-Team'.
- VERBOSE: Exporting cmdlet 'New-TeamChannel'.
- VERBOSE: Exporting cmdlet 'New-TeamsApp'.
- VERBOSE: Exporting cmdlet 'Remove-CsCustomPolicyPackage'.
- VERBOSE: Exporting cmdlet 'Remove-Team'.
- VERBOSE: Exporting cmdlet 'Remove-TeamChannel'.
- VERBOSE: Exporting cmdlet 'Remove-TeamChannelUser'.
- VERBOSE: Exporting cmdlet 'Remove-TeamsApp'.
- VERBOSE: Exporting cmdlet 'Remove-TeamsAppInstallation'.
- VERBOSE: Exporting cmdlet 'Remove-TeamTargetingHierarchy'.
- VERBOSE: Exporting cmdlet 'Remove-TeamUser'.
- VERBOSE: Exporting cmdlet 'Set-Team'.
- VERBOSE: Exporting cmdlet 'Set-TeamArchivedState'.
- VERBOSE: Exporting cmdlet 'Set-TeamChannel'.
- VERBOSE: Exporting cmdlet 'Set-TeamPicture'.
- VERBOSE: Exporting cmdlet 'Set-TeamsApp'.
- VERBOSE: Exporting cmdlet 'Set-TeamTargetingHierarchy'.
- VERBOSE: Exporting cmdlet 'Update-CsCustomPolicyPackage'.
- VERBOSE: Exporting cmdlet 'Update-TeamsAppInstallation'.
- VERBOSE: Importing cmdlet 'Add-TeamChannelUser'.
- VERBOSE: Importing cmdlet 'Add-TeamsAppInstallation'.
- VERBOSE: Importing cmdlet 'Add-TeamUser'.
- VERBOSE: Importing cmdlet 'Connect-MicrosoftTeams'.
- VERBOSE: Importing cmdlet 'Disconnect-MicrosoftTeams'.
- VERBOSE: Importing cmdlet 'Get-CsOnlinePowerShellEndpoint'.
- VERBOSE: Importing cmdlet 'Get-CsPolicyPackage'.
- VERBOSE: Importing cmdlet 'Get-CsUserPolicyPackage'.
- VERBOSE: Importing cmdlet 'Get-CsUserPolicyPackageRecommendation'.
- VERBOSE: Importing cmdlet 'Get-Team'.
- VERBOSE: Importing cmdlet 'Get-TeamChannel'.
- VERBOSE: Importing cmdlet 'Get-TeamChannelUser'.
- VERBOSE: Importing cmdlet 'Get-TeamsApp'.
- VERBOSE: Importing cmdlet 'Get-TeamsAppInstallation'.
- VERBOSE: Importing cmdlet 'Get-TeamTargetingHierarchyStatus'.
- VERBOSE: Importing cmdlet 'Get-TeamUser'.
- VERBOSE: Importing cmdlet 'Grant-CsGroupPolicyPackageAssignment'.
- VERBOSE: Importing cmdlet 'Grant-CsUserPolicyPackage'.
- VERBOSE: Importing cmdlet 'New-CsBatchPolicyPackageAssignmentOperation'.
- VERBOSE: Importing cmdlet 'New-CsCustomPolicyPackage'.
- VERBOSE: Importing cmdlet 'New-CsOnlineSession'.
- VERBOSE: Importing cmdlet 'New-Team'.
- VERBOSE: Importing cmdlet 'New-TeamChannel'.
- VERBOSE: Importing cmdlet 'New-TeamsApp'.
- VERBOSE: Importing cmdlet 'Remove-CsCustomPolicyPackage'.
- VERBOSE: Importing cmdlet 'Remove-Team'.
- VERBOSE: Importing cmdlet 'Remove-TeamChannel'.
- VERBOSE: Importing cmdlet 'Remove-TeamChannelUser'.
- VERBOSE: Importing cmdlet 'Remove-TeamsApp'.
- VERBOSE: Importing cmdlet 'Remove-TeamsAppInstallation'.
- VERBOSE: Importing cmdlet 'Remove-TeamTargetingHierarchy'.
- VERBOSE: Importing cmdlet 'Remove-TeamUser'.
- VERBOSE: Importing cmdlet 'Set-Team'.
- VERBOSE: Importing cmdlet 'Set-TeamArchivedState'.
- VERBOSE: Importing cmdlet 'Set-TeamChannel'.
- VERBOSE: Importing cmdlet 'Set-TeamPicture'.
- VERBOSE: Importing cmdlet 'Set-TeamsApp'.
- VERBOSE: Importing cmdlet 'Set-TeamTargetingHierarchy'.
- VERBOSE: Importing cmdlet 'Update-CsCustomPolicyPackage'.
- VERBOSE: Importing cmdlet 'Update-TeamsAppInstallation'.
Add Comment
Please, Sign In to add comment