Microsoft365DSC
Microsoft365DSC copied to clipboard
-FileName switch in the Export-M365DSCConfiguration does not seem to work
Details of the scenario you tried and the problem that is occurring
The line is simple, executed in a powershell window with admin_rights: Export-M365DSCConfiguration -Path "c:\O365Prod" -FileName "test.ps1" The resulting files are created correctly but the file name stays the default one.
Verbose logs showing the problem
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
# insert configuration here
The operating system the target node is running
OsName : Microsoft Windows 10 Enterprise OsOperatingSystemSKU : EnterpriseEdition OsArchitecture : 64-bit WindowsVersion : 2004 WindowsBuildLabEx : 19041.1.amd64fre.vb_release.191206-1406 OsLanguage : fr-FR OsMuiLanguages : {fr-FR, en-GB, fr-CA}
Powershell version 5.1.19041.1
Version of the DSC module that was used ('dev' if using current dev branch)
DSC module version 1.20.923.1