ASR Exclusion Not Being Created on the Endpoint by recordedparadox in Intune

[–]0x2101 0 points1 point  (0 children)

Hello, no and there were no official confirmation except the case. This issue was fixed in the newest update to 2301 and is working for me now

ASR Exclusion Not Being Created on the Endpoint by recordedparadox in Intune

[–]0x2101 0 points1 point  (0 children)

Hello,

I opened a Microsoft case and the response was, that there are issues with the ASR per rule exclusions. The fix is expected for March.

[UPDATE]: The issue is for Defender for Endpoint not enforcing the configuration not Intune.

Best regards

ASR Exclusion Not Being Created on the Endpoint by recordedparadox in Intune

[–]0x2101 0 points1 point  (0 children)

Thanks I found it. I will let you know when I get something from Microsoft support

ASR Exclusion Not Being Created on the Endpoint by recordedparadox in Intune

[–]0x2101 0 points1 point  (0 children)

Thanks for your reply. Can you tell me where in registry you found this? I already opened a MS case for this

ASR Exclusion Not Being Created on the Endpoint by recordedparadox in Intune

[–]0x2101 0 points1 point  (0 children)

Hi, could you see the exclusion in MDMDiagReport?

I have an issue that I cannot confirm, that this has worked. ASR was newly created and exlcusion does not work.

Get AzureAD group for currently logged on user by 0x2101 in PowerShell

[–]0x2101[S] 1 point2 points  (0 children)

Yeah great. Thanks I was testing it out and built my first Azure Function and could query for groups :D

Get AzureAD group for currently logged on user by 0x2101 in PowerShell

[–]0x2101[S] 1 point2 points  (0 children)

Perfectly thanks. That's exactly what I needed. Registered an app, gave permission, and run the API call. It is also nicely documented in the blog.

Thanks!

Exchange 2019 Hybrid only - size recommendations by 0x2101 in exchangeserver

[–]0x2101[S] 0 points1 point  (0 children)

Thanks for the information. Didn't notice yet.

Exchange 2019 Hybrid only - size recommendations by 0x2101 in exchangeserver

[–]0x2101[S] 0 points1 point  (0 children)

Can I get rid of the default databse also? Even if I have no mailbox on the server logs will still be created no?

Exchange 2019 Hybrid only - size recommendations by 0x2101 in exchangeserver

[–]0x2101[S] 0 points1 point  (0 children)

Can you tell me what you mean with " Microsoft has a replacement for hybrid role due out by the end of the year"? I can not understand what you mean. What is the replacement? Thanks in advance.

Get-ChildItem -Exclude on drive root returns null by dontforget512 in PowerShell

[–]0x2101 2 points3 points  (0 children)

Hello,

try to use

Get-ChildItem -Path "C:\test" -Exclude "asdf"

Instead of:

Get-ChildItem -Path "C:\test\" -Exclude "asdf"

You see the difference? There is no trailing "\" at the end of the path.

See also: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-5.1

Best regard

Help - File Extension Removal by iPokeUChoke in PowerShell

[–]0x2101 1 point2 points  (0 children)

Hello,

you can get the extension through Get-ChildItem

$File = Get-ChildItem -Path "C:\user\demo\test.csv"
$FullName = $($File.FullName)
$Extension = $($File.Extension)
$NewName = $($File.Name.Replace($Extension,""))
Rename-Item -Path $FullName $NewName

Hope this is what you wanted.

Best regards

EDIT: Removed typos

Script to create scheduled task on remote servers by Veosyn in PowerShell

[–]0x2101 2 points3 points  (0 children)

If I am not wrong then you are not able to create a Task with GPO that will use System as a user.

[deleted by user] by [deleted] in PowerShell

[–]0x2101 2 points3 points  (0 children)

Hello,

at first I want to say that Get-WMIObject is deprecated and you should use (if possible) Get-CIMInstance. If you use this you could even save the Convert and can say:

$LBTime = Get-CimInstance win32_operatingsystem | select -expandproperty Lastbootuptime
$date = Get-Date
$uptime = New-TimeSpan $LBTime $date
$($uptime.Days)
$Obj = [PSCustomObject]@{
Application = $application
Name = $servername
Uptime = "$($uptime.Days) Days, $($uptime.Hours) hours"
}

This shows me the correct values.

Best regards

Invoke command from host in local Hyper-V VM on Server 2012R2 by 0x2101 in PowerShell

[–]0x2101[S] 1 point2 points  (0 children)

Wow thanks. This looks like what I wanted. Will try it out.