@camusicjunkie; Appreciate the information with loading the modules in the default $env:psmodule path. I will give that a try but currently I previously posted, when I create a Exchange PSSession the Exchange posh cmdlets are not being loaded. I confirmed this by checking the psdrive functions repository as suggested by @Kiran. Notet that though the PSSession shows successful (Get-PSSession), the cmdlets are nowhere to be found.
Thank you in advance for any assistance,
Importing PSSession for Exchange
WARNING: The names of some imported commands from the module ‘tmp_asbcr4mb.1vw’ include unapproved verbs that might
make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
Verbose parameter. For a list of approved verbs, type Get-Verb.
Name : tmp_asbcr4mb.1vw
Path : C:\Users\NetworkID\AppData\Local\Temp\tmp_asbcr4mb.1vw\tmp_asbcr4mb.1vw.psm1
Description : Implicit remoting for http:///PowerShell
Guid : b95bd0bf-72f1-4b33-89f3-960fd0a36690
Version : 1.0
ModuleBase : C:\Users\NetworkID\AppData\Local\Temp\tmp_asbcr4mb.1vw
ModuleType : Script
PrivateData : {ImplicitRemoting}
AccessMode : ReadWrite
ExportedAliases : {}
ExportedCmdlets : {}
ExportedFunctions : {[Add-ADPermission, Add-ADPermission], [Add-AvailabilityAddressSpace,
Add-AvailabilityAddressSpace], [Add-ContentFilterPhrase, Add-ContentFilterPhrase],
[Add-DatabaseAvailabilityGroupServer, Add-DatabaseAvailabilityGroupServer]…}
ExportedVariables : {}
NestedModules : {}
PSSession Imported
ADServerSettings to viewEntireForest set to $true
PS C:\Windows\system32> Get-Command ‘mailbox’
CommandType Name Version Source
Function cus_Connect-DisconnectedMailbox 0.0 CustomModule1
Function cus_Get-RemoteMailboxALLDC 0.0 CustomModule1
Function cus_Show-DisconnectedMailboxes 0.0 CustomModule1
PS C:\Windows\system32> get-mailbox -identity NetworkID
get-mailbox : The term ‘get-mailbox’ 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 line:1 char:1
+ get-mailbox -identity NetworkID
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (get-mailbox:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException