3.1.4
Fixed Admin Templates import
This commit is contained in:
@@ -10,7 +10,7 @@ This module is for the Endpoint Manager/Intune View. It manages Export/Import/Co
|
|||||||
#>
|
#>
|
||||||
function Get-ModuleVersion
|
function Get-ModuleVersion
|
||||||
{
|
{
|
||||||
'3.1.3'
|
'3.1.4'
|
||||||
}
|
}
|
||||||
|
|
||||||
function Invoke-InitializeModule
|
function Invoke-InitializeModule
|
||||||
@@ -1436,22 +1436,11 @@ function Start-LoadAdministrativeTemplate
|
|||||||
if(-not $fileName) { return $null }
|
if(-not $fileName) { return $null }
|
||||||
|
|
||||||
$fi = [IO.FileInfo]$fileName
|
$fi = [IO.FileInfo]$fileName
|
||||||
$obj = Get-Content $global:txtCompareFile.Text | ConvertFrom-Json
|
if($fi.Exists -eq $false) { return }
|
||||||
|
|
||||||
if($obj.definitionValues)
|
$obj = Get-Content $fi.FullName | ConvertFrom-Json
|
||||||
{
|
|
||||||
return $obj
|
|
||||||
}
|
|
||||||
|
|
||||||
$settingsFile = $fi.DirectoryName + "\" + $fi.BaseName + "_Settings.json"
|
return $obj
|
||||||
|
|
||||||
if([IO.File]::Exists($settingsFile))
|
|
||||||
{
|
|
||||||
$definitionValues = Get-Content $settingsFile | ConvertFrom-Json
|
|
||||||
|
|
||||||
$obj | Add-Member Noteproperty -Name "definitionValues" -Value $definitionValues -Force
|
|
||||||
}
|
|
||||||
$obj
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
# Release Notes
|
# Release Notes
|
||||||
|
|
||||||
|
## 3.1.3 - 2021-07-06
|
||||||
|
|
||||||
|
**Fixes**
|
||||||
|
|
||||||
|
* Fixed issue importing Administrative Templates
|
||||||
|
|
||||||
|
See [Issue 18](https://github.com/Micke-K/IntuneManagement/issues/18) for more info
|
||||||
|
|
||||||
## 3.1.3 - 2021-07-05
|
## 3.1.3 - 2021-07-05
|
||||||
|
|
||||||
**New features**
|
**New features**
|
||||||
|
|||||||
Reference in New Issue
Block a user