GithubHelp home page GithubHelp logo

ykuijs / m365dsctools Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 216 KB

Various tools for a Microsoft365DSC deployment, used in the M365DSC DevOps whitepaper

License: MIT License

PowerShell 100.00%

m365dsctools's Introduction

M365DSCTools

Build Status PowerShell Gallery (with prereleases) PowerShell Gallery PowerShell Gallery Downloads

This module contains various tools and functions that are used in the Microsoft365DSC whitepaper "Managing Microsoft 365 in true DevOps style with Microsoft365DSC and Azure DevOps".

This whitepaper describes how to manage Microsoft 365 using DevOps practices, by using tools like Azure DevOps and Microsoft365DSC.

Of course you can use this module in your own projects as well.

This module can be found in the PowerShell Gallery.

Available functions

This module contains the following functions:

Function Description
Add-ModulesToBlobStorage Add blob to an Azure Blob Storage
Convert-M365DSCExportToPowerShellDataFile Convert a Microsoft365DSC export to a PowerShell data file
Copy-Object Clone an object, e.g. hashtables, making sure no references between the source and destination objects exist anymore
Get-EnvironmentsGenericInfo Collects all CICD information from the '#Generic.psd1' data files and returns this as one hashtable
Get-ModulesFromBlobStorage Get a blob from an Azure Blob Storage
Import-PSDataFile Updated function to import PowerShell data files but without the size limitation
Merge-DataObject Function to merge data objects [Deprecated]
Set-ADOEnvironment Creates and configures environments in Azure DevOps pipelines
Set-PipelineYaml Updates the Environments parameter in the specified Yaml file
Test-M365PowerShellDataFile Test if the merged data file complies with the Microsoft365DSC schema
Write-Log Logging function used by other functions

Changelog

The changelog can be found here.

m365dsctools's People

Contributors

avarga77 avatar robertdutch avatar ykuijs avatar

Stargazers

 avatar

Watchers

 avatar  avatar

m365dsctools's Issues

Error when converting exported M365DSC tenant config with Convert-M365DSCExportToPowerShellDataFile

Hello,

I encounter the same error when attempting to convert any exported workload using Convert-M365DSCExportToPowerShellDataFile:

At C:\Program Files\WindowsPowerShell\Modules\DSCParser\2.0.0.5\Modules\DSCParser.psm1:280 char:25
+ ...                       Invoke-Expression -Command $scriptBlock | Out-N ...
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ParserError: (:) [Invoke-Expression], ParseException
    + FullyQualifiedErrorId : MissingTypename,Microsoft.PowerShell.Commands.InvokeExpressionCommand

Invoke-Expression : At line:1 char:63
+ ...                                        $typeStaticMethods = [] | gm - ...
+                                                                  ~
Missing type name after '['.
At line:4 char:46
+                                             []::TryParse($subExpressi ...
+                                              ~
Missing type name after '['.

M365DSC version 1.24.605.1
All dependencies are updated.

Many thanks.
Cheers.,

T.

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.