PowerShell
PowerShell copied to clipboard
Connect-Office365 seems to not import the functions from Connect-EXOPSSession
I am running the below command, resulting in the output below that.
It would indicate that functions are imported, but they are not actually available, they do not tab complete and display the usual not recognized as a name error message when entered.
Connect-EXOPSSession works fine on its own when loaded from link to Exchange Online module. I am on Windows 10 and my version of PowerShell is 5.1.
Please help!
Connect-Office365 -Service Exchange -MFA
VERBOSE: Attempting connection to Exchange
VERBOSE: Importing Exchange MFA Module
--------------------------------------------------------------------------
This PowerShell module allows you to connect to Exchange Online service.
To connect, use: Connect-EXOPSSession -UserPrincipalName <your UPN>
This PowerShell module allows you to connect Exchange Online Protection and Security & Compliance Center services also.
To connect, use: Connect-IPPSSession -UserPrincipalName <your UPN>
To get additional information, use: Get-Help Connect-EXOPSSession, or Get-Help Connect-IPPSSession
--------------------------------------------------------------------------
VERBOSE: Connecting to Exchange Online
VERBOSE: Importing cmdlet 'Add-EXOClientTelemetryWrapper'.
VERBOSE: Importing cmdlet 'New-EXOClientTelemetryFilepath'.
VERBOSE: Importing cmdlet 'Push-EXOTelemetryRecord'.
VERBOSE: Importing cmdlet 'New-ExoPSSession'.
VERBOSE: Loading module from path 'C:\Users\Konst\AppData\Local\Temp\tmp_1tngc2jy.xcz\tmp_1tngc2jy.xcz.psd1'.
VERBOSE: Loading 'FormatsToProcess' from path
'C:\Users\Konst\AppData\Local\Temp\tmp_1tngc2jy.xcz\tmp_1tngc2jy.xcz.format.ps1xml'.
VERBOSE: Loading module from path 'C:\Users\Konst\AppData\Local\Temp\tmp_1tngc2jy.xcz\tmp_1tngc2jy.xcz.psm1'.
VERBOSE: Importing function 'Add-AvailabilityAddressSpace'.
VERBOSE: Importing function 'Add-DistributionGroupMember'.
VERBOSE: Importing function 'Add-MailboxFolderPermission'.
VERBOSE: Importing function 'Add-MailboxLocation'.
VERBOSE: Importing function 'Add-MailboxPermission'.
VERBOSE: Importing function 'Add-ManagementRoleEntry'.
VERBOSE: Importing function 'Add-PublicFolderClientPermission'.
VERBOSE: Importing function 'Add-RecipientPermission'.
VERBOSE: Importing function 'Add-RoleGroupMember'.
VERBOSE: Importing function 'Add-UnifiedGroupLinks'.
VERBOSE: Importing function 'Approve-ElevatedAccessRequest'.
VERBOSE: Importing function 'Clear-ActiveSyncDevice'.
VERBOSE: Importing function 'Clear-MobileDevice'.
VERBOSE: Importing function 'Clear-TextMessagingAccount'.
VERBOSE: Importing function 'Compare-TextMessagingVerificationCode'.
VERBOSE: Importing function 'Complete-MigrationBatch'.
VERBOSE: Importing function 'ConvertFrom-ExoJobData.ps1'.
WARNING: The names of some imported commands from the module 'tmp_1tngc2jy.xcz' 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.
VERBOSE: The 'Delete-QuarantineMessage' command in the tmp_1tngc2jy.xcz' module was imported, but because its name does
not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Remove".
VERBOSE: Importing function 'Delete-QuarantineMessage'.
VERBOSE: Importing function 'Deny-ElevatedAccessRequest'.
VERBOSE: Importing function 'Disable-AntiPhishRule'.
VERBOSE: Importing function 'Disable-App'.
VERBOSE: Importing function 'Disable-HostedContentFilterRule'.
VERBOSE: Importing function 'Disable-InboxRule'.
VERBOSE: Importing function 'Disable-JournalArchiving'.
VERBOSE: Importing function 'Disable-JournalRule'.
VERBOSE: Importing function 'Disable-Mailbox'.
VERBOSE: Importing function 'Disable-MailPublicFolder'.
VERBOSE: Importing function 'Disable-MalwareFilterRule'.
VERBOSE: Importing function 'Disable-OutlookProtectionRule'.
VERBOSE: Importing function 'Disable-SweepRule'.
VERBOSE: Importing function 'Disable-TransportRule'.
VERBOSE: Importing function 'Disable-UMAutoAttendant'.
VERBOSE: Importing function 'Disable-UMCallAnsweringRule'.
VERBOSE: Importing function 'Disable-UMIPGateway'.
VERBOSE: Importing function 'Disable-UMMailbox'.
VERBOSE: Importing function 'Enable-AntiPhishRule'.
VERBOSE: Importing function 'Enable-App'.
VERBOSE: Importing function 'Enable-HostedContentFilterRule'.
VERBOSE: Importing function 'Enable-InboxRule'.
VERBOSE: Importing function 'Enable-JournalRule'.
VERBOSE: Importing function 'Enable-Mailbox'.
VERBOSE: Importing function 'Enable-MailPublicFolder'.
VERBOSE: Importing function 'Enable-MalwareFilterRule'.
VERBOSE: Importing function 'Enable-OrganizationCustomization'.
VERBOSE: Importing function 'Enable-OutlookProtectionRule'.
VERBOSE: Importing function 'Enable-SweepRule'.
VERBOSE: Importing function 'Enable-TransportRule'.
VERBOSE: Importing function 'Enable-UMAutoAttendant'.
VERBOSE: Importing function 'Enable-UMCallAnsweringRule'.
VERBOSE: Importing function 'Enable-UMIPGateway'.
VERBOSE: Importing function 'Enable-UMMailbox'.
VERBOSE: Importing function 'Export-DlpPolicyCollection'.
VERBOSE: Importing function 'Export-MailboxDiagnosticLogs'.
VERBOSE: Importing function 'Export-MigrationReport'.
VERBOSE: Importing function 'Export-QuarantineMessage'.
VERBOSE: Importing function 'Export-TransportRuleCollection'.
VERBOSE: Importing function 'Export-UMCallDataRecord'.
VERBOSE: Importing function 'Export-UMPrompt'.
VERBOSE: Importing function 'Get-AcceptedDomain'.
VERBOSE: Importing function 'Get-ActiveSyncDevice'.
VERBOSE: Importing function 'Get-ActiveSyncDeviceAccessRule'.
VERBOSE: Importing function 'Get-ActiveSyncDeviceClass'.
VERBOSE: Importing function 'Get-ActiveSyncDeviceStatistics'.
VERBOSE: Importing function 'Get-ActiveSyncMailboxPolicy'.
VERBOSE: Importing function 'Get-ActiveSyncOrganizationSettings'.
VERBOSE: Importing function 'Get-AddressBookPolicy'.
VERBOSE: Importing function 'Get-AdminAuditLogConfig'.
VERBOSE: Importing function 'Get-AdministrativeUnit'.
VERBOSE: Importing function 'Get-AdvancedThreatProtectionDocumentDetail'.
VERBOSE: Importing function 'Get-AdvancedThreatProtectionDocumentReport'.
VERBOSE: Importing function 'Get-AntiPhishPolicy'.
VERBOSE: Importing function 'Get-AntiPhishRule'.
VERBOSE: Importing function 'Get-App'.
VERBOSE: Importing function 'Get-ApplicationAccessPolicy'.
VERBOSE: Importing function 'Get-ATPTotalTrafficReport'.
VERBOSE: Importing function 'Get-AuditConfig'.
VERBOSE: Importing function 'Get-AuditConfigurationPolicy'.
VERBOSE: Importing function 'Get-AuditConfigurationRule'.
VERBOSE: Importing function 'Get-AuditLogSearch'.
VERBOSE: Importing function 'Get-AuthenticationPolicy'.
VERBOSE: Importing function 'Get-AuthServer'.
VERBOSE: Importing function 'Get-AvailabilityAddressSpace'.
VERBOSE: Importing function 'Get-AvailabilityConfig'.
VERBOSE: Importing function 'Get-BlockedSenderAddress'.
VERBOSE: Importing function 'Get-CalendarDiagnosticAnalysis'.
VERBOSE: Importing function 'Get-CalendarDiagnosticLog'.
VERBOSE: Importing function 'Get-CalendarDiagnosticObjects'.
VERBOSE: Importing function 'Get-CalendarNotification'.
VERBOSE: Importing function 'Get-CalendarProcessing'.
VERBOSE: Importing function 'Get-CalendarViewDiagnostics'.
VERBOSE: Importing function 'Get-CASMailbox'.
VERBOSE: Importing function 'Get-CASMailboxPlan'.
VERBOSE: Importing function 'Get-ClassificationRuleCollection'.
VERBOSE: Importing function 'Get-ClientAccessRule'.
VERBOSE: Importing function 'Get-Clutter'.
VERBOSE: Importing function 'Get-CompliancePolicyFileSyncNotification'.
VERBOSE: Importing function 'Get-CompliancePolicySyncNotification'.
VERBOSE: Importing function 'Get-ComplianceTag'.
VERBOSE: Importing function 'Get-ComplianceTagStorage'.
VERBOSE: Importing function 'Get-ConnectionByClientTypeDetailReport'.
VERBOSE: Importing function 'Get-ConnectionByClientTypeReport'.
VERBOSE: Importing function 'Get-ConnectSubscription'.
VERBOSE: Importing function 'Get-Contact'.
VERBOSE: Importing function 'Get-CsActiveUserReport'.
VERBOSE: Importing function 'Get-CsAVConferenceTimeReport'.
VERBOSE: Importing function 'Get-CsClientDeviceDetailReport'.
VERBOSE: Importing function 'Get-CsClientDeviceReport'.
VERBOSE: Importing function 'Get-CsConferenceReport'.
VERBOSE: Importing function 'Get-CsP2PAVTimeReport'.
VERBOSE: Importing function 'Get-CsP2PSessionReport'.
VERBOSE: Importing function 'Get-CsPSTNConferenceTimeReport'.
VERBOSE: Importing function 'Get-CsPSTNUsageDetailReport'.
VERBOSE: Importing function 'Get-CsUserActivitiesReport'.
VERBOSE: Importing function 'Get-CsUsersBlockedReport'.
VERBOSE: Importing function 'Get-DataClassification'.
VERBOSE: Importing function 'Get-DataClassificationConfig'.
VERBOSE: Importing function 'Get-DataEncryptionPolicy'.
VERBOSE: Importing function 'Get-DataRetentionReport'.
VERBOSE: Importing function 'Get-DeviceComplianceDetailsReport'.
VERBOSE: Importing function 'Get-DeviceComplianceDetailsReportFilter'.
VERBOSE: Importing function 'Get-DeviceCompliancePolicyInventory'.
VERBOSE: Importing function 'Get-DeviceComplianceReportDate'.
VERBOSE: Importing function 'Get-DeviceComplianceSummaryReport'.
VERBOSE: Importing function 'Get-DeviceComplianceUserInventory'.
VERBOSE: Importing function 'Get-DeviceComplianceUserReport'.
VERBOSE: Importing function 'Get-DeviceConditionalAccessPolicy'.
VERBOSE: Importing function 'Get-DeviceConditionalAccessRule'.
VERBOSE: Importing function 'Get-DeviceConfigurationPolicy'.
VERBOSE: Importing function 'Get-DeviceConfigurationRule'.
VERBOSE: Importing function 'Get-DevicePolicy'.
VERBOSE: Importing function 'Get-DeviceTenantPolicy'.
VERBOSE: Importing function 'Get-DeviceTenantRule'.
VERBOSE: Importing function 'Get-DistributionGroup'.
VERBOSE: Importing function 'Get-DistributionGroupMember'.
VERBOSE: Importing function 'Get-DkimSigningConfig'.
VERBOSE: Importing function 'Get-DlpDetailReport'.
VERBOSE: Importing function 'Get-DlpDetectionsReport'.
VERBOSE: Importing function 'Get-DlpIncidentDetailReport'.
VERBOSE: Importing function 'Get-DlpKeywordDictionary'.
VERBOSE: Importing function 'Get-DlpPolicy'.
VERBOSE: Importing function 'Get-DlpPolicyTemplate'.
VERBOSE: Importing function 'Get-DlpSensitiveInformationTypeRulePackage'.
VERBOSE: Importing function 'Get-DlpSiDetectionsReport'.
VERBOSE: Importing function 'Get-DynamicDistributionGroup'.
VERBOSE: Importing function 'Get-ElevatedAccessApprovalPolicy'.
VERBOSE: Importing function 'Get-ElevatedAccessAuthorization'.
VERBOSE: Importing function 'Get-ElevatedAccessRequest'.
VERBOSE: Importing function 'Get-EligibleDistributionGroupForMigration'.
VERBOSE: Importing function 'Get-EmailAddressPolicy'.
VERBOSE: Importing function 'Get-FailedContentIndexDocuments'.
VERBOSE: Importing function 'Get-FederatedOrganizationIdentifier'.
VERBOSE: Importing function 'Get-FederationInformation'.
VERBOSE: Importing function 'Get-FederationTrust'.
VERBOSE: Importing function 'Get-FfoMigrationReport'.
VERBOSE: Importing function 'Get-FocusedInbox'.
VERBOSE: Importing function 'Get-Group'.
VERBOSE: Importing function 'Get-GroupActivityReport'.
VERBOSE: Importing function 'Get-GroupMailbox'.
VERBOSE: Importing function 'Get-HistoricalSearch'.
VERBOSE: Importing function 'Get-HostedConnectionFilterPolicy'.
VERBOSE: Importing function 'Get-HostedContentFilterPolicy'.
VERBOSE: Importing function 'Get-HostedContentFilterRule'.
VERBOSE: Importing function 'Get-HostedOutboundSpamFilterPolicy'.
VERBOSE: Importing function 'Get-HotmailSubscription'.
VERBOSE: Importing function 'Get-HybridMailflow'.
VERBOSE: Importing function 'Get-HybridMailflowDatacenterIPs'.
VERBOSE: Importing function 'Get-ImapSubscription'.
VERBOSE: Importing function 'Get-InboundConnector'.
VERBOSE: Importing function 'Get-InboxRule'.
VERBOSE: Importing function 'Get-InformationBarrierReportDetails'.
VERBOSE: Importing function 'Get-InformationBarrierReportSummary'.
VERBOSE: Importing function 'Get-IntraOrganizationConfiguration'.
VERBOSE: Importing function 'Get-IntraOrganizationConnector'.
VERBOSE: Importing function 'Get-IRMConfiguration'.
VERBOSE: Importing function 'Get-JournalRule'.
VERBOSE: Importing function 'Get-LicenseVsUsageSummaryReport'.
VERBOSE: Importing function 'Get-LinkedUser'.
VERBOSE: Importing function 'Get-LogonStatistics'.
VERBOSE: Importing function 'Get-Mailbox'.
VERBOSE: Importing function 'Get-MailboxActivityReport'.
VERBOSE: Importing function 'Get-MailboxAuditBypassAssociation'.
VERBOSE: Importing function 'Get-MailboxAutoReplyConfiguration'.
VERBOSE: Importing function 'Get-MailboxCalendarConfiguration'.
VERBOSE: Importing function 'Get-MailboxCalendarFolder'.
VERBOSE: Importing function 'Get-MailboxFolder'.
VERBOSE: Importing function 'Get-MailboxFolderPermission'.
VERBOSE: Importing function 'Get-MailboxFolderStatistics'.
VERBOSE: Importing function 'Get-MailboxImportRequest'.
VERBOSE: Importing function 'Get-MailboxImportRequestStatistics'.
VERBOSE: Importing function 'Get-MailboxJunkEmailConfiguration'.
VERBOSE: Importing function 'Get-MailboxLocation'.
VERBOSE: Importing function 'Get-MailboxMessageConfiguration'.
VERBOSE: Importing function 'Get-MailboxOverrideConfiguration'.
VERBOSE: Importing function 'Get-MailboxPermission'.
VERBOSE: Importing function 'Get-MailboxPlan'.
VERBOSE: Importing function 'Get-MailboxPreferredLocation'.
VERBOSE: Importing function 'Get-MailboxRegionalConfiguration'.
VERBOSE: Importing function 'Get-MailboxRestoreRequest'.
VERBOSE: Importing function 'Get-MailboxRestoreRequestStatistics'.
VERBOSE: Importing function 'Get-MailboxSearch'.
VERBOSE: Importing function 'Get-MailboxSpellingConfiguration'.
VERBOSE: Importing function 'Get-MailboxStatistics'.
VERBOSE: Importing function 'Get-MailboxUsageDetailReport'.
VERBOSE: Importing function 'Get-MailboxUsageReport'.
VERBOSE: Importing function 'Get-MailboxUserConfiguration'.
VERBOSE: Importing function 'Get-MailContact'.
VERBOSE: Importing function 'Get-MailDetailATPReport'.
VERBOSE: Importing function 'Get-MailDetailDlpPolicyReport'.
VERBOSE: Importing function 'Get-MailDetailMalwareReport'.
VERBOSE: Importing function 'Get-MailDetailReport'.
VERBOSE: Importing function 'Get-MailDetailSpamReport'.
VERBOSE: Importing function 'Get-MailDetailTransportRuleReport'.
VERBOSE: Importing function 'Get-MailFilterListReport'.
VERBOSE: Importing function 'Get-MailPublicFolder'.
VERBOSE: Importing function 'Get-MailTrafficATPReport'.
VERBOSE: Importing function 'Get-MailTrafficPolicyReport'.
VERBOSE: Importing function 'Get-MailTrafficReport'.
VERBOSE: Importing function 'Get-MailTrafficSummaryReport'.
VERBOSE: Importing function 'Get-MailTrafficTopReport'.
VERBOSE: Importing function 'Get-MailUser'.
VERBOSE: Importing function 'Get-MalwareFilterPolicy'.
VERBOSE: Importing function 'Get-MalwareFilterRule'.
VERBOSE: Importing function 'Get-ManagementRole'.
VERBOSE: Importing function 'Get-ManagementRoleAssignment'.
VERBOSE: Importing function 'Get-ManagementRoleEntry'.
VERBOSE: Importing function 'Get-ManagementScope'.
VERBOSE: Importing function 'Get-MessageCategory'.
VERBOSE: Importing function 'Get-MessageClassification'.
VERBOSE: Importing function 'Get-MessageRecallResult'.
VERBOSE: Importing function 'Get-MessageTrace'.
VERBOSE: Importing function 'Get-MessageTraceDetail'.
VERBOSE: Importing function 'Get-MessageTrackingReport'.
VERBOSE: Importing function 'Get-MigrationBatch'.
VERBOSE: Importing function 'Get-MigrationConfig'.
VERBOSE: Importing function 'Get-MigrationEndpoint'.
VERBOSE: Importing function 'Get-MigrationStatistics'.
VERBOSE: Importing function 'Get-MigrationUser'.
VERBOSE: Importing function 'Get-MigrationUserStatistics'.
VERBOSE: Importing function 'Get-MobileDevice'.
VERBOSE: Importing function 'Get-MobileDeviceDashboardSummaryReport'.
VERBOSE: Importing function 'Get-MobileDeviceMailboxPolicy'.
VERBOSE: Importing function 'Get-MobileDeviceStatistics'.
VERBOSE: Importing function 'Get-MoveRequest'.
VERBOSE: Importing function 'Get-MoveRequestStatistics'.
VERBOSE: Importing function 'Get-MxRecordReport'.
VERBOSE: Importing function 'Get-MxRecordsReport'.
VERBOSE: Importing function 'Get-Notification'.
VERBOSE: Importing function 'Get-O365ClientBrowserDetailReport'.
VERBOSE: Importing function 'Get-O365ClientBrowserReport'.
VERBOSE: Importing function 'Get-O365ClientOSDetailReport'.
VERBOSE: Importing function 'Get-O365ClientOSReport'.
VERBOSE: Importing function 'Get-OMEConfiguration'.
VERBOSE: Importing function 'Get-OnlineMeetingConfiguration'.
VERBOSE: Importing function 'Get-OnPremisesOrganization'.
VERBOSE: Importing function 'Get-OrganizationalUnit'.
VERBOSE: Importing function 'Get-OrganizationConfig'.
VERBOSE: Importing function 'Get-OrganizationRelationship'.
VERBOSE: Importing function 'Get-OutboundConnector'.
VERBOSE: Importing function 'Get-OutboundConnectorReport'.
VERBOSE: Importing function 'Get-OutlookProtectionRule'.
VERBOSE: Importing function 'Get-OwaMailboxPolicy'.
VERBOSE: Importing function 'Get-PartnerApplication'.
VERBOSE: Importing function 'Get-PartnerCustomerUserReport'.
VERBOSE: Importing function 'Get-PerimeterConfig'.
VERBOSE: Importing function 'Get-PerimeterMessageTrace'.
VERBOSE: Importing function 'Get-PhishFilterPolicy'.
VERBOSE: Importing function 'Get-Place'.
VERBOSE: Importing function 'Get-PolicyTipConfig'.
VERBOSE: Importing function 'Get-PopSubscription'.
VERBOSE: Importing function 'Get-PublicFolder'.
VERBOSE: Importing function 'Get-PublicFolderClientPermission'.
VERBOSE: Importing function 'Get-PublicFolderItemStatistics'.
VERBOSE: Importing function 'Get-PublicFolderMailboxDiagnostics'.
VERBOSE: Importing function 'Get-PublicFolderMailboxMigrationRequest'.
VERBOSE: Importing function 'Get-PublicFolderMailboxMigrationRequestStatistics'.
VERBOSE: Importing function 'Get-PublicFolderMigrationRequest'.
VERBOSE: Importing function 'Get-PublicFolderMigrationRequestStatistics'.
VERBOSE: Importing function 'Get-PublicFolderStatistics'.
VERBOSE: Importing function 'Get-QuarantineMessage'.
VERBOSE: Importing function 'Get-QuarantineMessageHeader'.
VERBOSE: Importing function 'Get-RbacDiagnosticInfo'.
VERBOSE: Importing function 'Get-Recipient'.
VERBOSE: Importing function 'Get-RecipientPermission'.
VERBOSE: Importing function 'Get-RecipientStatisticsReport'.
VERBOSE: Importing function 'Get-RecoverableItems'.
VERBOSE: Importing function 'Get-RemoteDomain'.
VERBOSE: Importing function 'Get-ReportExecutionInstance'.
VERBOSE: Importing function 'Get-ReportSchedule'.
VERBOSE: Importing function 'Get-ReportScheduleList'.
VERBOSE: Importing function 'Get-ResourceConfig'.
VERBOSE: Importing function 'Get-RetentionEvent'.
VERBOSE: Importing function 'Get-RetentionPolicy'.
VERBOSE: Importing function 'Get-RetentionPolicyTag'.
VERBOSE: Importing function 'Get-RMSTemplate'.
VERBOSE: Importing function 'Get-RMSTrustedPublishingDomain'.
VERBOSE: Importing function 'Get-RoleAssignmentPolicy'.
VERBOSE: Importing function 'Get-RoleGroup'.
VERBOSE: Importing function 'Get-RoleGroupMember'.
VERBOSE: Importing function 'Get-SCInsights'.
VERBOSE: Importing function 'Get-ScorecardClientDeviceReport'.
VERBOSE: Importing function 'Get-ScorecardClientOSReport'.
VERBOSE: Importing function 'Get-ScorecardClientOutlookReport'.
VERBOSE: Importing function 'Get-ScorecardMetricsReport'.
VERBOSE: Importing function 'Get-SearchDocumentFormat'.
VERBOSE: Importing function 'Get-SecurityPrincipal'.
VERBOSE: Importing function 'Get-SendAddress'.
VERBOSE: Importing function 'Get-SenderPermission'.
VERBOSE: Importing function 'Get-SensitivityLabelActivityDetailsReport'.
VERBOSE: Importing function 'Get-SensitivityLabelActivityReport'.
VERBOSE: Importing function 'Get-ServiceDeliveryReport'.
VERBOSE: Importing function 'Get-ServiceStatus'.
VERBOSE: Importing function 'Get-SharingPolicy'.
VERBOSE: Importing function 'Get-SiteMailbox'.
VERBOSE: Importing function 'Get-SiteMailboxDiagnostics'.
VERBOSE: Importing function 'Get-SiteMailboxProvisioningPolicy'.
VERBOSE: Importing function 'Get-SmimeConfig'.
VERBOSE: Importing function 'Get-SPOActiveUserReport'.
VERBOSE: Importing function 'Get-SpoofMailReport'.
VERBOSE: Importing function 'Get-SPOSkyDriveProDeployedReport'.
VERBOSE: Importing function 'Get-SPOSkyDriveProStorageReport'.
VERBOSE: Importing function 'Get-SPOTeamSiteDeployedReport'.
VERBOSE: Importing function 'Get-SPOTeamSiteStorageReport'.
VERBOSE: Importing function 'Get-SPOTenantStorageMetricReport'.
VERBOSE: Importing function 'Get-StaleMailboxDetailReport'.
VERBOSE: Importing function 'Get-StaleMailboxReport'.
VERBOSE: Importing function 'Get-Subscription'.
VERBOSE: Importing function 'Get-SupervisoryReviewActivity'.
VERBOSE: Importing function 'Get-SupervisoryReviewPolicyReport'.
VERBOSE: Importing function 'Get-SupervisoryReviewPolicyV2'.
VERBOSE: Importing function 'Get-SupervisoryReviewReport'.
VERBOSE: Importing function 'Get-SupervisoryReviewRule'.
VERBOSE: Importing function 'Get-SweepRule'.
VERBOSE: Importing function 'Get-SyncConfig'.
VERBOSE: Importing function 'Get-SyncRequest'.
VERBOSE: Importing function 'Get-SyncRequestStatistics'.
VERBOSE: Importing function 'Get-TenantAnalyticsConfig'.
VERBOSE: Importing function 'Get-TextMessagingAccount'.
VERBOSE: Importing function 'Get-ToolInformation'.
VERBOSE: Importing function 'Get-TransportConfig'.
VERBOSE: Importing function 'Get-TransportRule'.
VERBOSE: Importing function 'Get-TransportRuleAction'.
VERBOSE: Importing function 'Get-TransportRulePredicate'.
VERBOSE: Importing function 'Get-TxpUserSettings'.
VERBOSE: Importing function 'Get-UMAutoAttendant'.
VERBOSE: Importing function 'Get-UMCallAnsweringRule'.
VERBOSE: Importing function 'Get-UMCallDataRecord'.
VERBOSE: Importing function 'Get-UMCallSummaryReport'.
VERBOSE: Importing function 'Get-UMDialPlan'.
VERBOSE: Importing function 'Get-UMHuntGroup'.
VERBOSE: Importing function 'Get-UMIPGateway'.
VERBOSE: Importing function 'Get-UMMailbox'.
VERBOSE: Importing function 'Get-UMMailboxConfiguration'.
VERBOSE: Importing function 'Get-UMMailboxPIN'.
VERBOSE: Importing function 'Get-UMMailboxPlan'.
VERBOSE: Importing function 'Get-UMMailboxPolicy'.
VERBOSE: Importing function 'Get-UMPhoneSession'.
VERBOSE: Importing function 'Get-UnifiedAuditSetting'.
VERBOSE: Importing function 'Get-UnifiedGroup'.
VERBOSE: Importing function 'Get-UnifiedGroupLinks'.
VERBOSE: Importing function 'Get-User'.
VERBOSE: Importing function 'Get-UserAnalyticsConfig'.
VERBOSE: Importing function 'Get-UserPhoto'.
VERBOSE: Importing function 'Import-ContactList'.
VERBOSE: Importing function 'Import-DlpPolicyCollection'.
VERBOSE: Importing function 'Import-RecipientDataProperty'.
VERBOSE: Importing function 'Import-RMSTrustedPublishingDomain'.
VERBOSE: Importing function 'Import-TransportRuleCollection'.
VERBOSE: Importing function 'Import-UMPrompt'.
VERBOSE: Importing function 'Invoke-ComplianceSearchActionStep'.
VERBOSE: Importing function 'New-ActiveSyncDeviceAccessRule'.
VERBOSE: Importing function 'New-ActiveSyncMailboxPolicy'.
VERBOSE: Importing function 'New-AdminAuditLogSearch'.
VERBOSE: Importing function 'New-AntiPhishPolicy'.
VERBOSE: Importing function 'New-AntiPhishRule'.
VERBOSE: Importing function 'New-App'.
VERBOSE: Importing function 'New-ApplicationAccessPolicy'.
VERBOSE: Importing function 'New-AuthenticationPolicy'.
VERBOSE: Importing function 'New-AvailabilityConfig'.
VERBOSE: Importing function 'New-ClassificationRuleCollection'.
VERBOSE: Importing function 'New-ClientAccessRule'.
VERBOSE: Importing function 'New-CompliancePolicySyncNotification'.
VERBOSE: Importing function 'New-ConnectSubscription'.
VERBOSE: Importing function 'New-DataClassification'.
VERBOSE: Importing function 'New-DistributionGroup'.
VERBOSE: Importing function 'New-DkimSigningConfig'.
VERBOSE: Importing function 'New-DlpPolicy'.
VERBOSE: Importing function 'New-DynamicDistributionGroup'.
VERBOSE: Importing function 'New-ElevatedAccessRequest'.
VERBOSE: Importing function 'New-EmailAddressPolicy'.
VERBOSE: Importing function 'New-Fingerprint'.
VERBOSE: Importing function 'New-HostedConnectionFilterPolicy'.
VERBOSE: Importing function 'New-HostedContentFilterPolicy'.
VERBOSE: Importing function 'New-HostedContentFilterRule'.
VERBOSE: Importing function 'New-InboundConnector'.
VERBOSE: Importing function 'New-InboxRule'.
VERBOSE: Importing function 'New-IntraOrganizationConnector'.
VERBOSE: Importing function 'New-JournalRule'.
VERBOSE: Importing function 'New-Mailbox'.
VERBOSE: Importing function 'New-MailboxAuditLogSearch'.
VERBOSE: Importing function 'New-MailboxFolder'.
VERBOSE: Importing function 'New-MailboxImportRequest'.
VERBOSE: Importing function 'New-MailboxRestoreRequest'.
VERBOSE: Importing function 'New-MailboxSearch'.
VERBOSE: Importing function 'New-MailContact'.
VERBOSE: Importing function 'New-MailMessage'.
VERBOSE: Importing function 'New-MailUser'.
VERBOSE: Importing function 'New-MalwareFilterPolicy'.
VERBOSE: Importing function 'New-MalwareFilterRule'.
VERBOSE: Importing function 'New-ManagementRole'.
VERBOSE: Importing function 'New-ManagementRoleAssignment'.
VERBOSE: Importing function 'New-ManagementScope'.
VERBOSE: Importing function 'New-MessageClassification'.
VERBOSE: Importing function 'New-MigrationBatch'.
VERBOSE: Importing function 'New-MigrationEndpoint'.
VERBOSE: Importing function 'New-MobileDeviceMailboxPolicy'.
VERBOSE: Importing function 'New-MoveRequest'.
VERBOSE: Importing function 'New-OMEConfiguration'.
VERBOSE: Importing function 'New-OnPremisesOrganization'.
VERBOSE: Importing function 'New-OrganizationRelationship'.
VERBOSE: Importing function 'New-OutboundConnector'.
VERBOSE: Importing function 'New-OutlookProtectionRule'.
VERBOSE: Importing function 'New-OwaMailboxPolicy'.
VERBOSE: Importing function 'New-PartnerApplication'.
VERBOSE: Importing function 'New-PolicyTipConfig'.
VERBOSE: Importing function 'New-PrivilegedIdentityManagementRequest'.
VERBOSE: Importing function 'New-ProtectionServicePolicy'.
VERBOSE: Importing function 'New-PublicFolder'.
VERBOSE: Importing function 'New-PublicFolderMigrationRequest'.
VERBOSE: Importing function 'New-RemoteDomain'.
VERBOSE: Importing function 'New-ReportSchedule'.
VERBOSE: Importing function 'New-RetentionPolicy'.
VERBOSE: Importing function 'New-RetentionPolicyTag'.
VERBOSE: Importing function 'New-RoleAssignmentPolicy'.
VERBOSE: Importing function 'New-RoleGroup'.
VERBOSE: Importing function 'New-SchedulingMailbox'.
VERBOSE: Importing function 'New-SharingPolicy'.
VERBOSE: Importing function 'New-SiteMailbox'.
VERBOSE: Importing function 'New-SiteMailboxProvisioningPolicy'.
VERBOSE: Importing function 'New-SweepRule'.
VERBOSE: Importing function 'New-SyncMailPublicFolder'.
VERBOSE: Importing function 'New-SyncRequest'.
VERBOSE: Importing function 'New-TransportRule'.
VERBOSE: Importing function 'New-UMAutoAttendant'.
VERBOSE: Importing function 'New-UMCallAnsweringRule'.
VERBOSE: Importing function 'New-UMDialPlan'.
VERBOSE: Importing function 'New-UMHuntGroup'.
VERBOSE: Importing function 'New-UMMailboxPolicy'.
VERBOSE: Importing function 'New-UnifiedGroup'.
VERBOSE: The 'Preview-QuarantineMessage' command in the tmp_1tngc2jy.xcz' module was imported, but because its name
does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
VERBOSE: Importing function 'Preview-QuarantineMessage'.
VERBOSE: The 'Release-QuarantineMessage' command in the tmp_1tngc2jy.xcz' module was imported, but because its name
does not include an approved verb, it might be difficult to find. The suggested alternative verbs are
"Clear,Install,Publish,Unlock".
VERBOSE: Importing function 'Release-QuarantineMessage'.
VERBOSE: Importing function 'Remove-ActiveSyncDevice'.
VERBOSE: Importing function 'Remove-ActiveSyncDeviceAccessRule'.
VERBOSE: Importing function 'Remove-ActiveSyncMailboxPolicy'.
VERBOSE: Importing function 'Remove-AntiPhishPolicy'.
VERBOSE: Importing function 'Remove-AntiPhishRule'.
VERBOSE: Importing function 'Remove-App'.
VERBOSE: Importing function 'Remove-ApplicationAccessPolicy'.
VERBOSE: Importing function 'Remove-AuditConfigurationPolicy'.
VERBOSE: Importing function 'Remove-AuditConfigurationRule'.
VERBOSE: Importing function 'Remove-AuditStubFolder'.
VERBOSE: Importing function 'Remove-AuthenticationPolicy'.
VERBOSE: Importing function 'Remove-AvailabilityAddressSpace'.
VERBOSE: Importing function 'Remove-AvailabilityConfig'.
VERBOSE: Importing function 'Remove-BlockedSenderAddress'.
VERBOSE: Importing function 'Remove-CalendarEvents'.
VERBOSE: Importing function 'Remove-ClassificationRuleCollection'.
VERBOSE: Importing function 'Remove-ClientAccessRule'.
VERBOSE: Importing function 'Remove-CompliancePolicyFileSyncNotification'.
VERBOSE: Importing function 'Remove-CompliancePolicySyncNotification'.
VERBOSE: Importing function 'Remove-ConnectSubscription'.
VERBOSE: Importing function 'Remove-DataClassification'.
VERBOSE: Importing function 'Remove-DistributionGroup'.
VERBOSE: Importing function 'Remove-DistributionGroupMember'.
VERBOSE: Importing function 'Remove-DlpPolicy'.
VERBOSE: Importing function 'Remove-DynamicDistributionGroup'.
VERBOSE: Importing function 'Remove-EmailAddressPolicy'.
VERBOSE: Importing function 'Remove-HostedConnectionFilterPolicy'.
VERBOSE: Importing function 'Remove-HostedContentFilterPolicy'.
VERBOSE: Importing function 'Remove-HostedContentFilterRule'.
VERBOSE: Importing function 'Remove-HybridConfiguration'.
VERBOSE: Importing function 'Remove-InboundConnector'.
VERBOSE: Importing function 'Remove-InboxRule'.
VERBOSE: Importing function 'Remove-IntraOrganizationConnector'.
VERBOSE: Importing function 'Remove-JournalRule'.
VERBOSE: Importing function 'Remove-Mailbox'.
VERBOSE: Importing function 'Remove-MailboxFolderPermission'.
VERBOSE: Importing function 'Remove-MailboxImportRequest'.
VERBOSE: Importing function 'Remove-MailboxLocation'.
VERBOSE: Importing function 'Remove-MailboxPermission'.
VERBOSE: Importing function 'Remove-MailboxRestoreRequest'.
VERBOSE: Importing function 'Remove-MailboxSearch'.
VERBOSE: Importing function 'Remove-MailboxUserConfiguration'.
VERBOSE: Importing function 'Remove-MailContact'.
VERBOSE: Importing function 'Remove-MailUser'.
VERBOSE: Importing function 'Remove-MalwareFilterPolicy'.
VERBOSE: Importing function 'Remove-MalwareFilterRule'.
VERBOSE: Importing function 'Remove-ManagementRole'.
VERBOSE: Importing function 'Remove-ManagementRoleAssignment'.
VERBOSE: Importing function 'Remove-ManagementRoleEntry'.
VERBOSE: Importing function 'Remove-ManagementScope'.
VERBOSE: Importing function 'Remove-MessageClassification'.
VERBOSE: Importing function 'Remove-MigrationBatch'.
VERBOSE: Importing function 'Remove-MigrationEndpoint'.
VERBOSE: Importing function 'Remove-MigrationUser'.
VERBOSE: Importing function 'Remove-MobileDevice'.
VERBOSE: Importing function 'Remove-MobileDeviceMailboxPolicy'.
VERBOSE: Importing function 'Remove-MoveRequest'.
VERBOSE: Importing function 'Remove-OMEConfiguration'.
VERBOSE: Importing function 'Remove-OnPremisesOrganization'.
VERBOSE: Importing function 'Remove-OrganizationRelationship'.
VERBOSE: Importing function 'Remove-OutboundConnector'.
VERBOSE: Importing function 'Remove-OutlookProtectionRule'.
VERBOSE: Importing function 'Remove-OwaMailboxPolicy'.
VERBOSE: Importing function 'Remove-PartnerApplication'.
VERBOSE: Importing function 'Remove-PolicyTipConfig'.
VERBOSE: Importing function 'Remove-PublicFolder'.
VERBOSE: Importing function 'Remove-PublicFolderClientPermission'.
VERBOSE: Importing function 'Remove-PublicFolderMailboxMigrationRequest'.
VERBOSE: Importing function 'Remove-PublicFolderMigrationRequest'.
VERBOSE: Importing function 'Remove-RecipientPermission'.
VERBOSE: Importing function 'Remove-RemoteDomain'.
VERBOSE: Importing function 'Remove-ReportSchedule'.
VERBOSE: Importing function 'Remove-RetentionPolicy'.
VERBOSE: Importing function 'Remove-RetentionPolicyTag'.
VERBOSE: Importing function 'Remove-RMSTrustedPublishingDomain'.
VERBOSE: Importing function 'Remove-RoleAssignmentPolicy'.
VERBOSE: Importing function 'Remove-RoleGroup'.
VERBOSE: Importing function 'Remove-RoleGroupMember'.
VERBOSE: Importing function 'Remove-SharingPolicy'.
VERBOSE: Importing function 'Remove-Subscription'.
VERBOSE: Importing function 'Remove-SweepRule'.
VERBOSE: Importing function 'Remove-SyncMailPublicFolder'.
VERBOSE: Importing function 'Remove-SyncRequest'.
VERBOSE: Importing function 'Remove-TransportRule'.
VERBOSE: Importing function 'Remove-UMAutoAttendant'.
VERBOSE: Importing function 'Remove-UMCallAnsweringRule'.
VERBOSE: Importing function 'Remove-UMDialPlan'.
VERBOSE: Importing function 'Remove-UMHuntGroup'.
VERBOSE: Importing function 'Remove-UMIPGateway'.
VERBOSE: Importing function 'Remove-UMMailboxPolicy'.
VERBOSE: Importing function 'Remove-UnifiedGroup'.
VERBOSE: Importing function 'Remove-UnifiedGroupLinks'.
VERBOSE: Importing function 'Remove-UserPhoto'.
VERBOSE: Importing function 'Reset-TxpBlockStatus'.
VERBOSE: Importing function 'Restore-RecoverableItems'.
VERBOSE: Importing function 'Resume-MailboxImportRequest'.
VERBOSE: Importing function 'Resume-MailboxRestoreRequest'.
VERBOSE: Importing function 'Resume-MoveRequest'.
VERBOSE: Importing function 'Resume-PublicFolderMailboxMigrationRequest'.
VERBOSE: Importing function 'Resume-PublicFolderMigrationRequest'.
VERBOSE: Importing function 'Resume-SyncRequest'.
VERBOSE: Importing function 'Revoke-ElevatedAccessAuthorization'.
VERBOSE: The 'Rotate-DkimSigningConfig' command in the tmp_1tngc2jy.xcz' module was imported, but because its name does
not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
VERBOSE: Importing function 'Rotate-DkimSigningConfig'.
VERBOSE: Importing function 'Search-AdminAuditLog'.
VERBOSE: Importing function 'Search-Mailbox'.
VERBOSE: Importing function 'Search-MailboxAuditLog'.
VERBOSE: Importing function 'Search-MessageTrackingReport'.
VERBOSE: Importing function 'Search-UnifiedAuditLog'.
VERBOSE: Importing function 'Send-TextMessagingVerificationCode'.
VERBOSE: Importing function 'Set-AcceptedDomain'.
VERBOSE: Importing function 'Set-ActiveSyncDeviceAccessRule'.
VERBOSE: Importing function 'Set-ActiveSyncMailboxPolicy'.
VERBOSE: Importing function 'Set-ActiveSyncOrganizationSettings'.
VERBOSE: Importing function 'Set-AdminAuditLogConfig'.
VERBOSE: Importing function 'Set-AntiPhishPolicy'.
VERBOSE: Importing function 'Set-AntiPhishRule'.
VERBOSE: Importing function 'Set-App'.
VERBOSE: Importing function 'Set-ApplicationAccessPolicy'.
VERBOSE: Importing function 'Set-AuthenticationPolicy'.
VERBOSE: Importing function 'Set-AvailabilityConfig'.
VERBOSE: Importing function 'Set-CalendarNotification'.
VERBOSE: Importing function 'Set-CalendarProcessing'.
VERBOSE: Importing function 'Set-CASMailbox'.
VERBOSE: Importing function 'set-CASMailboxPlan'.
VERBOSE: Importing function 'Set-ClassificationRuleCollection'.
VERBOSE: Importing function 'Set-ClientAccessRule'.
VERBOSE: Importing function 'Set-Clutter'.
VERBOSE: Importing function 'Set-ConnectSubscription'.
VERBOSE: Importing function 'Set-Contact'.
VERBOSE: Importing function 'Set-DataClassification'.
VERBOSE: Importing function 'Set-DataEncryptionPolicy'.
VERBOSE: Importing function 'Set-DistributionGroup'.
VERBOSE: Importing function 'Set-DkimSigningConfig'.
VERBOSE: Importing function 'Set-DlpPolicy'.
VERBOSE: Importing function 'Set-DynamicDistributionGroup'.
VERBOSE: Importing function 'Set-ElevatedAccessRequest'.
VERBOSE: Importing function 'Set-EmailAddressPolicy'.
VERBOSE: Importing function 'Set-FederatedOrganizationIdentifier'.
VERBOSE: Importing function 'Set-FocusedInbox'.
VERBOSE: Importing function 'Set-Group'.
VERBOSE: Importing function 'Set-GroupMailbox'.
VERBOSE: Importing function 'Set-HostedConnectionFilterPolicy'.
VERBOSE: Importing function 'Set-HostedContentFilterPolicy'.
VERBOSE: Importing function 'Set-HostedContentFilterRule'.
VERBOSE: Importing function 'Set-HostedOutboundSpamFilterPolicy'.
VERBOSE: Importing function 'Set-HotmailSubscription'.
VERBOSE: Importing function 'Set-HybridMailflow'.
VERBOSE: Importing function 'Set-ImapSubscription'.
VERBOSE: Importing function 'Set-InboundConnector'.
VERBOSE: Importing function 'Set-InboxRule'.
VERBOSE: Importing function 'Set-IntraOrganizationConnector'.
VERBOSE: Importing function 'Set-IRMConfiguration'.
VERBOSE: Importing function 'Set-JournalRule'.
VERBOSE: Importing function 'Set-LinkedUser'.
VERBOSE: Importing function 'Set-Mailbox'.
VERBOSE: Importing function 'Set-MailboxAuditBypassAssociation'.
VERBOSE: Importing function 'Set-MailboxAutoReplyConfiguration'.
VERBOSE: Importing function 'Set-MailboxCalendarConfiguration'.
VERBOSE: Importing function 'Set-MailboxCalendarFolder'.
VERBOSE: Importing function 'Set-MailboxFolderPermission'.
VERBOSE: Importing function 'Set-MailboxImportRequest'.
VERBOSE: Importing function 'Set-MailboxJunkEmailConfiguration'.
VERBOSE: Importing function 'Set-MailboxLocation'.
VERBOSE: Importing function 'Set-MailboxMessageConfiguration'.
VERBOSE: Importing function 'Set-MailboxPlan'.
VERBOSE: Importing function 'Set-MailboxRegionalConfiguration'.
VERBOSE: Importing function 'Set-MailboxRestoreRequest'.
VERBOSE: Importing function 'Set-MailboxSearch'.
VERBOSE: Importing function 'Set-MailboxSpellingConfiguration'.
VERBOSE: Importing function 'Set-MailContact'.
VERBOSE: Importing function 'Set-MailPublicFolder'.
VERBOSE: Importing function 'Set-MailUser'.
VERBOSE: Importing function 'Set-MalwareFilterPolicy'.
VERBOSE: Importing function 'Set-MalwareFilterRule'.
VERBOSE: Importing function 'Set-ManagementRoleAssignment'.
VERBOSE: Importing function 'Set-ManagementRoleEntry'.
VERBOSE: Importing function 'Set-ManagementScope'.
VERBOSE: Importing function 'Set-MessageClassification'.
VERBOSE: Importing function 'Set-MigrationBatch'.
VERBOSE: Importing function 'Set-MigrationConfig'.
VERBOSE: Importing function 'Set-MigrationEndpoint'.
VERBOSE: Importing function 'Set-MigrationUser'.
VERBOSE: Importing function 'Set-MobileDeviceMailboxPolicy'.
VERBOSE: Importing function 'Set-MoveRequest'.
VERBOSE: Importing function 'Set-Notification'.
VERBOSE: Importing function 'Set-OMEConfiguration'.
VERBOSE: Importing function 'Set-OnPremisesOrganization'.
VERBOSE: Importing function 'Set-Organization'.
VERBOSE: Importing function 'Set-OrganizationConfig'.
VERBOSE: Importing function 'Set-OrganizationRelationship'.
VERBOSE: Importing function 'Set-OutboundConnector'.
VERBOSE: Importing function 'Set-OutlookProtectionRule'.
VERBOSE: Importing function 'Set-OwaMailboxPolicy'.
VERBOSE: Importing function 'Set-PartnerApplication'.
VERBOSE: Importing function 'Set-PerimeterConfig'.
VERBOSE: Importing function 'Set-PhishFilterPolicy'.
VERBOSE: Importing function 'Set-Place'.
VERBOSE: Importing function 'Set-PolicyTipConfig'.
VERBOSE: Importing function 'Set-PopSubscription'.
VERBOSE: Importing function 'Set-ProtectionServicePolicy'.
VERBOSE: Importing function 'Set-PublicFolder'.
VERBOSE: Importing function 'Set-PublicFolderMailboxMigrationRequest'.
VERBOSE: Importing function 'Set-PublicFolderMigrationRequest'.
VERBOSE: Importing function 'Set-RemoteDomain'.
VERBOSE: Importing function 'Set-ReportSchedule'.
VERBOSE: Importing function 'Set-ResourceConfig'.
VERBOSE: Importing function 'Set-RetentionPolicy'.
VERBOSE: Importing function 'Set-RetentionPolicyTag'.
VERBOSE: Importing function 'Set-RMSTemplate'.
VERBOSE: Importing function 'Set-RMSTrustedPublishingDomain'.
VERBOSE: Importing function 'Set-RoleAssignmentPolicy'.
VERBOSE: Importing function 'Set-RoleGroup'.
VERBOSE: Importing function 'Set-SharingPolicy'.
VERBOSE: Importing function 'Set-SiteMailbox'.
VERBOSE: Importing function 'Set-SiteMailboxProvisioningPolicy'.
VERBOSE: Importing function 'Set-SmimeConfig'.
VERBOSE: Importing function 'Set-SweepRule'.
VERBOSE: Importing function 'Set-SyncRequest'.
VERBOSE: Importing function 'Set-TenantAnalyticsConfig'.
VERBOSE: Importing function 'Set-TextMessagingAccount'.
VERBOSE: Importing function 'Set-TransportConfig'.
VERBOSE: Importing function 'Set-TransportRule'.
VERBOSE: Importing function 'Set-TxpUserSettings'.
VERBOSE: Importing function 'Set-UMAutoAttendant'.
VERBOSE: Importing function 'Set-UMCallAnsweringRule'.
VERBOSE: Importing function 'Set-UMDialPlan'.
VERBOSE: Importing function 'Set-UMIPGateway'.
VERBOSE: Importing function 'Set-UMMailbox'.
VERBOSE: Importing function 'Set-UMMailboxConfiguration'.
VERBOSE: Importing function 'Set-UMMailboxPIN'.
VERBOSE: Importing function 'Set-UMMailboxPolicy'.
VERBOSE: Importing function 'Set-UnifiedAuditSetting'.
VERBOSE: Importing function 'Set-UnifiedGroup'.
VERBOSE: Importing function 'Set-User'.
VERBOSE: Importing function 'Set-UserAnalyticsConfig'.
VERBOSE: Importing function 'Set-UserPhoto'.
VERBOSE: Importing function 'Start-AuditAssistant'.
VERBOSE: Importing function 'Start-HistoricalSearch'.
VERBOSE: Importing function 'Start-MailboxSearch'.
VERBOSE: Importing function 'Start-ManagedFolderAssistant'.
VERBOSE: Importing function 'Start-MigrationBatch'.
VERBOSE: Importing function 'Start-MigrationUser'.
VERBOSE: Importing function 'Start-UMPhoneSession'.
VERBOSE: Importing function 'Stop-HistoricalSearch'.
VERBOSE: Importing function 'Stop-MailboxSearch'.
VERBOSE: Importing function 'Stop-MigrationBatch'.
VERBOSE: Importing function 'Stop-MigrationUser'.
VERBOSE: Importing function 'Stop-UMPhoneSession'.
VERBOSE: Importing function 'Suspend-MailboxImportRequest'.
VERBOSE: Importing function 'Suspend-MailboxRestoreRequest'.
VERBOSE: Importing function 'Suspend-MoveRequest'.
VERBOSE: Importing function 'Suspend-PublicFolderMailboxMigrationRequest'.
VERBOSE: Importing function 'Suspend-PublicFolderMigrationRequest'.
VERBOSE: Importing function 'Suspend-SyncRequest'.
VERBOSE: Importing function 'Test-ApplicationAccessPolicy'.
VERBOSE: Importing function 'Test-ClientAccessRule'.
VERBOSE: Importing function 'Test-DataClassification'.
VERBOSE: Importing function 'Test-DataEncryptionPolicy'.
VERBOSE: Importing function 'Test-InformationBarrierPolicy'.
VERBOSE: Importing function 'Test-IRMConfiguration'.
VERBOSE: Importing function 'Test-MAPIConnectivity'.
VERBOSE: Importing function 'Test-MigrationServerAvailability'.
VERBOSE: Importing function 'Test-OAuthConnectivity'.
VERBOSE: Importing function 'Test-OrganizationRelationship'.
VERBOSE: Importing function 'Test-SiteMailbox'.
VERBOSE: Importing function 'Test-TextExtraction'.
VERBOSE: The 'Troubleshoot-AgendaMail' command in the tmp_1tngc2jy.xcz' module was imported, but because its name does
not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
VERBOSE: Importing function 'Troubleshoot-AgendaMail'.
VERBOSE: Importing function 'Undo-SoftDeletedMailbox'.
VERBOSE: Importing function 'Undo-SoftDeletedUnifiedGroup'.
VERBOSE: Importing function 'Update-DistributionGroupMember'.
VERBOSE: Importing function 'Update-HybridConfiguration'.
VERBOSE: Importing function 'Update-PublicFolderMailbox'.
VERBOSE: Importing function 'Update-Recipient'.
VERBOSE: Importing function 'Update-RoleGroupMember'.
VERBOSE: Importing function 'Update-SiteMailbox'.
VERBOSE: The 'Upgrade-DistributionGroup' command in the tmp_1tngc2jy.xcz' module was imported, but because its name
does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
VERBOSE: Importing function 'Upgrade-DistributionGroup'.
VERBOSE: The 'Validate-OutboundConnector' command in the tmp_1tngc2jy.xcz' module was imported, but because its name
does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
VERBOSE: Importing function 'Validate-OutboundConnector'.
VERBOSE: The 'Validate-RetentionRuleQuery' command in the tmp_1tngc2jy.xcz' module was imported, but because its name
does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
VERBOSE: Importing function 'Validate-RetentionRuleQuery'.
VERBOSE: Importing function 'Write-AdminAuditLog'.```
I had this same issue when trying to run this function from inside a module. Was able to resolve by importing the PSSession using Import-Module, by adding this after Connect-EXOPSSession:
$sessionModule = Import-PSSession -Session (Get-PSSession | Where-Object { $_.ConfigurationName -like "*Exchange*" }) -AllowClobber -DisableNameChecking $null = Import-Module $sessionModule -Global -DisableNameChecking -Force
thank you @ryandevries that worked!