Wat zijn de optimale instellingen om Windows-prestaties te verbeteren zonder extra software?
\n "1.0" -Author "" -Description "Module cmdlet"
Users with MFA: Enabled, Disabled, Enforced
I manage a Azure AD Does anyone have a PowerShell script that can help me get all users from Azure Active directory with MFA: Enabled, Disabled, Enforced Thanks for the help.
![](https://techprofile.blob.core.windows.net/images/2LOUkuON6kGUVXZK6mKypg.png?8DB938)
Microsoft Search insights and configuration - Download Report using API or Power Automate
SharePoint site collection administrators will be able to get insights regarding the total number of search queries performed, number of results by type over time, top searched queries etc. from Site Settings. Site Settings->Search Insights and…
Connect-AipService
Im having an issue where on powershell when I run the command "connect-aipservice" I then input the correct credential and 2fa code but every time I enter it, I get the following error " Connect-AipService : The attempt to connect to the…
"Bandwidth Constraints for 12,000 Devices During .OST File Creation"
Hi Team, how can we implement bandwidth constraints for 12,000 devices when new .ost files are created and begin downloading emails?Also, Is there a way to use old .ost file with new outlook profile created in xyz.com domain outlook by deleting the new…
The risk and consequence for the users when migrating Legacy Multi-factor authentication to the new Entra ID Authentication methods
I need some assistance before migrating from this old legacy portal: https://account.activedirectory.windowsazure.com/UserManagement/MfaSettings.aspx to this new location:…
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
How to onboard Defender via userdata scripts?
I am trying to onboard defender to windows servers. By following onboarding steps 1 to 4 in this doco, I was able to onboard defender to windows servers manually. However, we are using userdata powershell scripts for our windows server. I need to put all…
![](https://techprofile.blob.core.windows.net/images/aXuH7oYyEEiHuDJT798imw.png?8D9A0B)
Unhandled exception at Microsoft.ActiveDirectory.Management.Commands.SafeSessionCache
Hi all, Our App crashes randomly every now and then. Right before it crashes the following appears logged: ==================================================================== Application: xxxxxx.exe Framework Version: v4.0.30319 Description: The…
WARNING: Unable to acquire token for tenant 'organizations' with error 'InteractiveBrowserCredential authentication failed: Method not found: 'Void Microsoft.Identity.Client.Extensions.Msal.MsalCacheHelper.RegisterCache(Microsoft.Identity.Client.ITokenCa
Hi Team, Can someone here please assist me with this error to connect my PowerShell session using the Connect-AzAccount ? PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> Connect-AzAccount WARNING: Unable to acquire token for tenant 'organizations' with…
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
Request for Email Activity Report with Internal/External Breakdown
Hi everyone, Is it possible to generate a report that shows the number of emails sent and received by each user, with a breakdown of internal and external emails? I understand that we can find some basic metrics in the admin center under Reports >…
Powershell and Windows 11
In Windows 11 Pro 22H2 running PowerShell v5.1.22621.2506, I'm seeing issues when running PowerShell commands. For example, I run the copy-item command and PowerShell says it is an invalid command. I close PowerShell and open it again and the copy-item…
365 Calendar Management is frustrating! What are best practices? Why are there so many ways to create Calendars? Why isn't any one method that great?
Shared Mailbox Calendar Sharepoint Calendar Public Folder Calendar Personal Shared Calendar Group Calendar All of these have positive and negative things about them, but why can't any one Calendar just be simple? (basic Calendar where an Owner can manage…
I'm trying to use the Get-MgUserDrive command in PowerShell with the 'me' alias, full email address, and explicit user ID, but keep getting a 'User not found' error
I run the command below in powershell with using the Invoke-MgGraphRequest cmdlet. Please find below the Powershell Command´s Screenshot and the error message. Here is the Error msg: What do you suggest? Gemini propose an Alternative…
How do i edit the team site template within SharePoint online so it provisions each new site with a uk locale instead of US when a new team is created in MS-Teams
How do I edit the team site template within SharePoint online so it provisions each new site with a uk locale instead of US when a new team is created in MS-Teams. Our tenant sits on a US server and all our dates are us dates and I need them to be UK…
![](https://techprofile.blob.core.windows.net/images/CIPXiTInekeIO5yu3xpWEw.png?8D8712)
Trying to add Microsoft Sentinel to a Log Analytics Workspace in Azure but keep getting error "The gateway did not receive a response from 'Microsoft.SecurityInsights' within the specified time period"
I am trying to add Microsoft Sentinel to a Log Analytics Workspace connected to a Virtual Machine in the Azure portal but keep getting the error "The gateway did not receive a response from 'Microsoft.SecurityInsights' within the specified time…
How can I combine 2 get-ADComputer queries in 1
Can someone please help me? I am trying to find computers that match this criteria (see from screenshot Screenshot 2024-06-26 085801.png) Right now I have 2 queries, Find all enabled computers : $allEnabledComputers=Get-ADComputer -Filter…
PowerShell MFA opens browser instead of mini-browser
Recently I reset my Windows 11 PC and also upgraded to PowerShell 7.4.2. Something is now causing any MFA sessions in PowerShell to launch a new tab in my default browser rather than opening a mini-browser to handle the modern authentication. It should…
![](https://techprofile.blob.core.windows.net/images/Ot4SV06o0Uq0kOpu-HOnhA.png?8D871C)
![](https://techprofile.blob.core.windows.net/images/Ot4SV06o0Uq0kOpu-HOnhA.png?8D871C)
Use PowerShell cmdlets in C#
Is it possible to use the cmdlets of a specific PowerShell version in C#? PowerShell has its limits regarding OO programming, so I'd like to use C# more, and make use of the power of the PowerShell cmdlets from within C#. My requirement is to have access…
Why do Get-AzSentinelAlertRule/Incident Powershell CLI queries not always provide specified output detail?
When running the following List-all-alert-rules query, Get-AzSentinelAlertRule -ResourceGroupName "myResourceGroupName" -workspaceName "myWorkspaceName" all specified field key:value pairs are returned for every rule, including the…
Listing file information filtered on values in a file
Hi, I would like to list sizes on all files in a directory, but the listed file names must match filenames picked up from a file. Basic information file size from this; Get-ChildItem -Path "\servername\DATA\files" -File | Select-Object…