MyPSFunctions.psd1
<#
=========================================================================== Created with: SAPIEN Technologies, Inc., PowerShell Studio 2021 v5.8.196 Created on: 10/27/2023 9:00 AM Created by: John@Onenote4exchange.com Organization: OneNote4Exchange Filename: MyPSFunctions.psd1 ------------------------------------------------------------------------- Module Manifest ------------------------------------------------------------------------- Module Name: MyPSFunctions =========================================================================== #> @{ # Script module or binary module file associated with this manifest RootModule = 'MyPSFunctions.psm1' # Version number of this module. ModuleVersion = '1.1' # ID used to uniquely identify this module GUID = '551353d9-240b-4384-a7fa-88210b4ff153' # Author of this module Author = 'John@MyPSFunctions.com' # Company or vendor of this module CompanyName = 'MyPSFunctions' # Copyright statement for this module Copyright = '(c) 2023. All rights reserved.' # Description of the functionality provided by this module Description = 'This Module has been created to provide a repository of my Daily Functions. - This module is provided as is without any support. Please be aware you are using this module as your own risks without any responsabilities from us.' # Minimum version of the Windows PowerShell engine required by this module PowerShellVersion = '3.0' # Name of the Windows PowerShell host required by this module PowerShellHostName = '' # Minimum version of the Windows PowerShell host required by this module PowerShellHostVersion = '' # Minimum version of the .NET Framework required by this module DotNetFrameworkVersion = '2.0' # Minimum version of the common language runtime (CLR) required by this module CLRVersion = '2.0.50727' # Processor architecture (None, X86, Amd64, IA64) required by this module ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing # this module RequiredModules = @() # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() # Script files (.ps1) that are run in the caller's environment prior to # importing this module ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = @() # Modules to import as nested modules of the module specified in # ModuleToProcess NestedModules = @("MyPSFunctions.AAD.ps1", "MyPSFunctions.AD.ps1", "MyPSFunctions.Az.ps1", "MyPSFunctions.EXO.ps1", "MyPSFunctions.Office365.ps1", "MyPSFunctions.SPO.ps1", "MyPSFunctions.MgGraph.ps1", "MyPSFunctions.Teams.ps1") # Functions to export from this module FunctionsToExport = @( 'Write-Log', 'Write-CLog', 'Create-Folder', 'Zip-Folder', 'Clear-PSSession', 'Allows-BasicWinRM', 'Test-ServerSSLSupport', 'Append-PrefixFileswithinFolder', 'Clear-IECachedData', 'Get-ServerPublicIP', 'Get-MyPublicIP', 'Get-IPAddressInformation', 'ConvertFrom-ImmutableIdToGuid', 'ConvertTo-Gb', 'ConvertTo-MB', 'Select-MyProfile', 'Add-MyProfile', 'Create-MyProfile', 'Set-MyProfile', 'Enable-Transcript', 'Initiate-MyProfile', 'Generate-MSOLServicePrincipalReport', 'Check-MSOLUserMFAEnrolledDevices', 'Generate-MSOLMFAEnrollmentStatusReport', 'Export-MSOLAllLicensedUsers', 'Get-AADUserGroupMembership', 'Check-AADO365GroupCreationSettings', 'Block-AADOffice365GroupCreation', 'Validate-AADCloudOnlyAllOffice365Admins', 'Generate-AADRegisteredDevicesReport', 'Generate-AADServicePrincipalsReport', 'Get-AADUserMembership', 'Validate-AADUserMembership', 'Get-AADGroupMember', 'Compare-AADGroupMembershipOfTwoGroups', 'HardMatch-AADDuplicateCloudAccount', 'Find-AADApplication', 'Update-ADDynamicGroupMember', 'Update-ADUserPasswordNeverExpires', 'Get-AADUserDirectReport', 'Get-AADGroupMembersDetails', 'Add-AADUserToAADGroup', 'Add-AADUserToAADGroupCSV', 'Remove-AADUserToAADGroup', 'Remove-AADUserToAADGroupCSV', 'Add-AADUsersToAADGroupFromCSV', 'Export-AADGroupMembers', 'Get-AADUserPasswordNeverExpires', 'Revoke-AADToken', 'Disable-AADAccount', 'Report-AADLicenseM365E3Group', 'Collect-AADLicensedUsersDetails_fromGroup', 'Check-AADLicenseForUser', 'Add-AADLicenseToUser', 'Remove-AADLicenseToUser', 'Generate-AADLicensesSKUsTable', 'Start-AADConnectSync', 'Check-AADConnectLastSync', 'Check-AADUserLastSync', 'Force-ADUserChangePasswordNextLogon', 'Generate-ReportLastLogonADUsers', 'Expand-ADGroupMembers', 'Update-ADUserDynamicAttribute', 'Manage-ADGroupMembership', 'Get-ADGroupMemberwithManager', 'Check-ADSchemaVersionForADandEXCH', 'Find-ADUserwithUPN', 'Find-ADUserwithSAM', 'Find-ADOnlineDC', 'Generate-ADDirectMemberofADGroup', 'Move-ADComputer', 'Move-ADComputersCSV', 'Update-ADUserPrimarySMTPAddressToUPN', 'Update-ADUserUPNToPrimarySMTPAddress', 'Enable-RemoteMailboxACL', 'New-ADOffice365User', 'Request-ADDomainusingLDAP', 'Request-ADUserusingLDAP', 'Request-LDAPGroupMember', 'Check-DNSPhishingSettings', 'Write-AzureLog', 'Close-AzSentinelIncidentByTitle', 'Switch-AzSubscription', 'Connect-Az', 'Get-AzToken', 'Create-AzArcLicense', 'Backup-AzFirewallPolicies', 'Generate-AzRoleAssignmentsReportForAllSubscriptions', 'Generate-AzRoleAssignmentsReportForAllSubscriptionsOld', 'Generate-AzNSGForAllSubscriptions', 'Query-MicrosoftSentinel', 'Connect-OpenAI', 'Ask-ChatGPT', 'Create-EXOMigrationBatch', 'Grant-EXOApplicationAccessToMailboxUsingGroup', 'Generate-EXOUsersCustodianHoldReport', 'Generate-EXOBasicSMTPSettingsAllMailboxes', 'Check-EXOMailboxSMTPBasicAuthSettings', 'Generate-EXOMailboxesRetentionReport', 'Generate-EXORecipientReportBySMTPDomain', 'Find-UserMailboxUsingEmailFromCSV', 'Find-UserUsingEmailFromCSV', 'Generate-AllAcceptedDomainsDMARCReport', 'Get-EXODDGroupMembership', 'Change-EXORetentionPolicy', 'Create-EXOSharedMailboxWithSG', 'Get-EXODynamicDGMembers', 'Check-SharedMailboxPermission', 'Generate-EXOMailboxesUsingAcceptedDomain', 'Restrict-EXOUnifiedGroupbySender', 'Get-EXOAllDGRoomList', 'Add-EXORoomToRoomList', 'Cleanup-EXORecipientsUsingSMTPDomain', 'Enable-EXOMailboxForwardingusingCSVFile', 'Update-EXOPrimarySMTPAddressForUnifiedGroup', 'Add-EXOUsersToOneDGCSV', 'Update-EXODGMemberwithRepsUsingCSV', 'Add-EXOUsersToDGsusingCSV', 'Create-EXOMailContactUsingCSV', 'Check-EXOMessageMaxSize', 'Add-EXOUnifiedGroupMemberusingCSV', 'Generate-EXOUnifiedGroupsStorageReportInMB', 'Generate-EXOUnifiedGroupsStorageReportInGB', 'Enable-EXORetentionFeatures', 'Enable-EXOMailboxesRetentionUsingCSV', 'Add-EXOTrustedSenderToAllMailboxes', 'Remove-EXOTrustedSenderToAllMailboxes', 'Get-EXOUserAllMembership', 'Get-EXORecipientInformationFromCSV', 'Get-EXOMailContactGroupMembership', 'Find-EXOAllDisconnectedMailboxes', 'Retreive-EXOMailboxPermission', 'Add-EXOCalendarPermission', 'Move-EXOMailboxContent', 'Add-EXOMembersToDistributionGroupUsingCSV', 'Remove-EXOCalendarInvite', 'Create-EXORestrictedSharedMailbox', 'Convert-EXOUserMailboxToRestrictedSharedMailbox', 'Open-EXOConferenceRoom', 'Update-EXOCalendarProcessingSettingsForConferenceRoom', 'Get-EXOUnifiedGroupMembers', 'Expand-EXOGroup', 'Expand-EXODirectADGroup', 'Replace-EXODistributionListMembers', 'Count-EXOForwardToRecipientOfInboxRules', 'Create-EXOTransportRuleforBlockingIncomingMessagewithException', 'Run-EXOMessageTraceLast2Days', 'Run-EXOMessageTraceLast7Days', 'Run-EXOMessageTraceLast10Days', 'Run-EXOMessageTraceLast90Days', 'Investigate-EXOUserInboxRules', 'Investigate-EXOBlockedMailbox', 'Run-EXOMailboxAuditLogSearch', 'Duplicate-EXODistributionGroupMembers', 'Search-EXOAdminRolebyCMDlet', 'Add-EXOMailboxPermissionSendAs', 'Remove-EXOMailboxPermissionSendAs', 'Add-EXOMailboxPermissionFullAccess', 'Remove-EXOMailboxPermissionFullAccess', 'Add-EXOMailboxPermissionSendOnBehalf', 'Remove-EXOMailboxPermissionSendOnBehalf', 'Search-EXOMailEnabledPublicFolder', 'Fix-EXOAutoMappingMailbox', 'Fix-EXORecipientDisplayType', 'Convert-EXOUserMailboxToSharedMailbox', 'Fix-EXOMissingOnMicrosoft', 'Enable-EXOMaibloxOOFMessage', 'Get-EXORecipientStatistics', 'Check-EXOLastMailboxAccess', 'Add-EXOTransportRuleSubjectOrBodyContainsWords', 'Add-EXOTransportRuleSubjectContainsWords', 'Test-EXOSendO365Mail', 'Test-EXOSendMail', 'Allow-EXOQuarantineMobileDevices', 'Allow-EXOQuarantineIphone', 'Show-EXOQuarantineIphones', 'Show-EXOQuarantineDevices', 'Block-EXOMobileDevice', 'Clear-EXOCASMobileDevicesList', 'Check-EXOMobileDevices', 'Check-EXOMobileDeviceByState', 'Release-EXOMyQuarantineMessageDomain', 'Generate-EXOSafeLinkReport', 'Generate-EXOAllSafeLinkReport', 'Search-EXOMessageBySubject', 'Display-EXORecoverableItems', 'Find-EXODeletedItems', 'Find-EXODeletedItemsTime', 'Recover-EXORecoverableItems', 'Restore-EXOInactiveMailbox', 'Restore-EXOInactiveOnlineArchiveMailbox', 'Restore-EXOSoftDeletedMailbox', 'Recover-EXOInactiveMailbox', 'Add-EXOX500EmailAddress', 'Check-EXOPhishingComplianceSearchActionToday', 'Check-EXOPhishingComplianceSearchActionDate', 'Check-EXOPhishingComplianceSearchToday', 'Check-EXOPhishingComplianceSearchDate', 'Check-EXOPhishingContentSearch', 'New-EXOPhishingContentSearch', 'Purge-EXOPhishingContentSearch', 'Update-EXOPhishingTransportRule', 'Check-EXORetentionExclusion', 'Get-EXOBookingMailboxOwner', 'Check-EXOBookingMailboxSettings', 'Generate-EXOInactiveMailboxPermissionXML', 'Replace-EXOSMTPDomain', 'Add-EXOUserToSDG', 'Clear-msExchRemoteRecipientType', 'Fix-EXOArchiveMailboxGUID', 'Fix-EXOArchiveMailboxGUIDv1', 'Update-EXORemoteMailboxPrimary', 'Add-EXORemoteMailboxSecondary', 'Update-EXOPrimaryRemoteMailboxusingCSV', 'Add-EXOSendAsOnPremiseMailbox', 'Convert-EXORemoteUserToSharedMailbox', 'Enable-EXORemoteMailbox', 'Find-MgScopesOfCMDlet', 'Get-MgToken', 'Generate-MgUserMicrosoft365GroupMembership', 'Check-MgAllUsersStats', 'Generate-MyMgBetaUserSignInActivities', 'Generate-MyMgBetaUserReport', 'Generate-MyMgUserReport', 'Disable-UserMailboxForDepartureUsingCSV', 'Get-MgRecipientUser', 'Get-MgBetaRecipientUser', 'Create-MgAccount', 'Disable-MgAccount', 'Check-MgADConnectLastSync', 'Generate-MgLicenseReportPerSKU', 'Generate-MgLicenseReport', 'Generate-MgReportOauthAuditReportToExcel', 'Generate-MgEnterpriseAppsAssignmentsConsentsSettingsReport', 'Generate-MgEnterpriseAppsCertificatesSecretsReport', 'Remove-MgLegacyServicePrincipal', 'Generate-MgLegacyServicePrincipalReport', 'Generate-MgServicePrincipalReport', 'Check-MgO365GroupCreationSettings', 'Block-MgO365GroupCreation', 'Generate-MgConditionalAccessPoliciesReport', 'Install-MyPSFunctionsModules', 'Update-MyPSFunctionsModules', 'Validate-ExcelModule', 'Connect-MyMgGraph', 'Connect-AAD', 'Connect-EXO', 'Connect-EXOLegacy', 'Connect-EXOCompliance', 'Connect-SharepointOnline', 'Connect-SharepointOnlineAll', 'Connect-TeamsOnline', 'Connect-PowerPlatform', 'Connect-ExchangeOnPremise', 'Convert-ImmutableIDToGuid', 'Convert-ObjectGUIDToImmutableID', 'Get-ResponseFailureInfo', 'Invoke-YammerRestRequest', 'Get-YammerUser', 'Get-YammerImpersonatedUser', 'New-YammerGroup', 'Get-YammerGroup', 'Get-YammerGroupMembership', 'Add-YammerGroupMember', 'Remove-YammerGroupMember', 'Get-YammerGroupAdmin', 'Get-YammerGroupAdminAll', 'Add-YammerGroupAdmin', 'Remove-YammerGroupAdmin', 'Remove-YammerGroup', 'Remove-YammerGroupsUsingCSV', 'Backup-YammerAllGroups', 'Add-YammerUsersToGroupUsingCSV', 'Generate-YammerGroupReport', 'Import-MCAS_IPAddress_fromCSV', 'Connect-Planner', 'Set-PlannerConfiguration', 'Get-PlannerConfiguration', 'Generate-OnedriveUsageReport', 'Add-SharepointCollaborationSiteAdminPermission', 'Add-SharepointCollaborationSiteAdminPermissionToGroup', 'Add-SharepointCollectionSiteURLAdminusingCSV', 'Add-SharepointCollectionSiteAdminusingCSV', 'Get-PnPOffice365GroupOwners', 'Get-UnifiedLogs_SharepointSite_30Days', 'Reset-OnedriveQuotaToDefault', 'Generate-OneDriveStorageUsageReport', 'Update-OnedriveQuota', 'Update-OnedriveAnonymousLinkExpiration', 'Search-DeletedOnedriveInfo', 'Find-OneDriveUserURL', 'Find-PnPOnedriveUserURL', 'Assign-SingleTeamsAppPermissionPolicyUsingCSVFile', 'Enable-Office365GroupForTeams', 'Migrate-SkypeToTeamsMigrationBatch', 'Check-SkypeToTeamsMigrationBatchStatus', 'Clear-TeamsCacheFolder', 'Get-Detailed_CSOnlineUsers_Report' ) #For performance, list functions explicitly # Cmdlets to export from this module CmdletsToExport = '*' # Variables to export from this module VariablesToExport = '*' # Aliases to export from this module AliasesToExport = '*' #For performance, list alias explicitly # DSC class resources to export from this module. #DSCResourcesToExport = '' # List of all modules packaged with this module ModuleList = @() # List of all files packaged with this module FileList = @() # Private data to pass to the module specified in ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. PrivateData = @{ #Support for PowerShellGet galleries. PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. # Tags = @() # A URL to the license for this module. # LicenseUri = '' # A URL to the main website for this project. # ProjectUri = '' # A URL to an icon representing this module. # IconUri = '' # ReleaseNotes of this module # ReleaseNotes = '' } # End of PSData hashtable } # End of PrivateData hashtable } |