Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Fixes #1357

Merged
merged 6 commits into from
Jul 30, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Additional Display Fixes
  • Loading branch information
NikCharlebois committed Jul 30, 2021
commit 4008aad97191f77c66a8ac7aa8c2600478c8f66c
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,14 @@ function Export-TargetResource
[array]$configPolicies = Get-IntuneAppConfigurationPolicyTargeted -ErrorAction Stop
$i = 1
$dscContent = ''
Write-Host "`r`n" -NoNewLine
if ($configPolicies.Length -eq 0)
{
Write-Host $Global:M365DSCEmojiGreenCheckMark
}
else
{
Write-Host "`r`n" -NoNewLine
}
foreach ($configPolicy in $configPolicies)
{
Write-Host " |---[$i/$($configPolicies.Count)] $($configPolicy.displayName)" -NoNewLine
Expand Down Expand Up @@ -312,7 +319,7 @@ function Export-TargetResource
}
catch
{
Write-Host $Global:M365DSCEmojiGreenCheckMark
Write-Host $Global:M365DSCEmojiRedX
try
{
Write-Verbose -Message $_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ function Export-TargetResource
{
Write-Host $Global:M365DSCEmojiGreenCheckMark
}
else`
else
{
Write-Host "`r`n" -NoNewline
}
Expand Down Expand Up @@ -586,6 +586,7 @@ function Export-TargetResource
}
catch
{
Write-Host $Global:M365DSCEmojiRedX
try
{
Write-Verbose -Message $_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ function Export-TargetResource
$dscContent = ''
if ($policies.Length -eq 0)
{
Write-Host "`r`n" -NoNewline
Write-Host $Global:M365DSCEmojiGreenCheckMark
}
else
{
Write-Host $Global:M365DSCEmojiGreenCheckMark
Write-Host "`r`n" -NoNewline
}
foreach ($policy in $policies)
{
Expand Down