I having problem with PowerShell in the Teams Planning network deployment., Here is what I am getting with the Invoke-ToolCreateShortcuts:
PS C:\WINDOWS\system32> Invoke-ToolCreateShortcuts
Invoke-ToolCreateShortcuts : The 'Invoke-ToolCreateShortcuts' command was found in the module
'NetworkTestingCompanion', but the module could not be loaded. For more information, run 'Import-Module
NetworkTestingCompanion'.
At line:1 char:1
- Invoke-ToolCreateShortcuts
-
+ CategoryInfo : ObjectNotFound: (Invoke-ToolCreateShortcuts:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
PS C:\WINDOWS\system32> Install-Module -Name NetworkTestingCompanion -RequiredVersion 1.5.4
PS C:\WINDOWS\system32> Invoke-ToolCreateShortcuts
Invoke-ToolCreateShortcuts : The 'Invoke-ToolCreateShortcuts' command was found in the module
'NetworkTestingCompanion', but the module could not be loaded. For more information, run 'Import-Module
NetworkTestingCompanion'.
At line:1 char:1
- Invoke-ToolCreateShortcuts
-
+ CategoryInfo : ObjectNotFound: (Invoke-ToolCreateShortcuts:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
PS C:\WINDOWS\system32> Import-Module NetworkTestingCompanion
Import-Module : File C:\Users\doc.DOC-I7-WIN10PRO\OneDrive - Pratt Computing Technologies
Inc\Documents\WindowsPowerShell\Modules\NetworkTestingCompanion\1.5.4\NetworkTestingCompanion.psm1 cannot be loaded.
The file C:\Users\doc.DOC-I7-WIN10PRO\OneDrive - Pratt Computing Technologies
Inc\Documents\WindowsPowerShell\Modules\NetworkTestingCompanion\1.5.4\NetworkTestingCompanion.psm1 is not digitally
signed. You cannot run this script on the current system. For more information about running scripts and setting
execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
- Import-Module NetworkTestingCompanion
-
+ CategoryInfo : SecurityError: (:) [Import-Module], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand
PS C:\WINDOWS\system32>
Thank You