Coder Social home page Coder Social logo

Comments (3)

michelderooij avatar michelderooij commented on July 28, 2024 1

As indicated by @dc911x , these are helper functions. To use them, dot-source the script so the helper functions become available in your session. Then use one of the commands, eg Report-Office365Modules.

from connect-office365services.

dc911x avatar dc911x commented on July 28, 2024

Hi @Leunam76

What are you trying to do? The connect script is loaded and ready to use.

Did you read the description?

.DESCRIPTION
The functions are listed below. Note that functions may call eachother, for example to
connect to Exchange Online the Office 365 Credentials the user is prompted to enter these credentials.
Also, the credentials are persistent in the current session, there is no need to re-enter credentials
when connecting to Exchange Online Protection for example. Should different credentials be required,
call Get-Office365Credentials or Get-OnPremisesCredentials again.

Helper Functions:
=================
- Connect-AzureActiveDirectory  Connects to Azure Active Directory
- Connect-AzureRMS              Connects to Azure Rights Management
- Connect-ExchangeOnline        Connects to Exchange Online (Graph module)
- Connect-AIP                   Connects to Azure Information Protection
- Connect-PowerApps             Connects to PowerApps
- Connect-ComplianceCenter      Connects to Compliance Center
- Connect-SharePointOnline      Connects to SharePoint Online
- Connect-MSTeams               Connects to Microsoft Teams
- Get-Office365Credentials      Gets Office 365 credentials
- Connect-ExchangeOnPremises    Connects to Exchange On-Premises
- Get-OnPremisesCredentials     Gets On-Premises credentials
- Get-ExchangeOnPremisesFQDN    Gets FQDN for Exchange On-Premises
- Get-Office365Tenant           Gets Office 365 tenant name
- Set-Office365Environment	    Configures Uri's and region to use
- Update-Office365Modules       Updates supported Office 365 modules
- Report-Office365Modules       Report on known vs online module versions
- Clean-Office365Modules        Cleanup old versions of supported modules

Functions to connect to other services provided by the module, e.g. Connect-MSGraph or Connect-MSTeams.

To register the PowerShell Test Gallery and install modules from there, use:
Register-PSRepository -Name PSGalleryInt -SourceLocation https://www.poshtestgallery.com/ -InstallationPolicy Trusted
Install-Module -Name MicrosoftTeams -Repository PSGalleryInt -Force -Scope AllUsers

To load the helper functions from your PowerShell profile, put Connect-Office365Services.ps1 in the same location
as your $profile file, and edit $profile as follows:
& (Join-Path $PSScriptRoot "Connect-Office365Services.ps1")

from connect-office365services.

Leunam76 avatar Leunam76 commented on July 28, 2024

@michelderooij @dc911x .... thank you, to read I must indeed, have a nice day,

from connect-office365services.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.