MyPSFunctions
1.1
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 PowerShell version
3.0
Installation Options
Owners
Copyright
(c) 2023. All rights reserved.
Package Details
Author(s)
- John@MyPSFunctions.com
Functions
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
Dependencies
This module has no dependencies.
FileList
- MyPSFunctions.nuspec
- MyPSFunctions.AAD.ps1
- MyPSFunctions.AD.ps1
- MyPSFunctions.EXO.ps1
- MyPSFunctions.Office365.ps1
- MyPSFunctions.MgGraph.ps1
- MyPSFunctions.psm1
- MyPSFunctions.Az.ps1
- MyPSFunctions.Teams.ps1
- MyPSFunctions.SPO.ps1
- MyPSFunctions.psd1
Version History
Version | Downloads | Last updated |
---|---|---|
1.4 | 29 | 10/8/2024 |
1.2 | 13 | 8/21/2024 |
1.1 (current version) | 15 | 7/22/2024 |