Microsoft Desired State Configuration 3.0
Hi, I know that Microsoft Desired State Configuration 3.0 is still in preview, but I am interested in some documentation where I can find how to do things now (push config to remote servers, configure periodic checks for config drifts now when LCM is no…
How to launch Microsoft Edge to a specific Workspace?
How can I launch Microsoft Edge directly to a specific shared Edge Workspace, ie what is the command line switch? Preferably I would like to launch two workspaces at once; more preferably I would like to launch them on to the last desktop region that…
Connect-SPOService : No valid OAuth 2.0 authentication session exists ?
I have not been able to connect using the command “Connect-SPOService -Url https://company-admin.sharepoint.com” for several months now. I pick account Enter password click "Next" And get this empty "working..." window…
Convert Curl to invoke-restMethod
I am trying to use this Curl example and make it work with Powershell. I am stuck at multiple data for "Identifier". this section will create report in CSV format "report_metadata": { "report_type": "orders", …
How can I build mez file from .proj or .pq file via commandline?
I need to automate building of PowerBI connector from .proj or .pq file to .mez On local machine, we are able to do that with Visual studio code and it's Power Query SDK extension https://learn.microsoft.com/en-us/power-query/install-sdk but I am not…
How can I build mez file from .proj or .pq file via commandline?
I need to automate building of PowerBI connector from .proj or .pq file to .mez On local machine, we are able to do that with Visual studio code and it's Power Query SDK extension https://learn.microsoft.com/en-us/power-query/install-sdk but I am…
How to resolve "Unable to start the Cloud Shell" error in Learn Sandbox
When attempting to access the Learn Sandbox CLI, the error "Unable to start the Cloud Shell" occurs despite following the recommended troubleshooting methods. Attempts have been made to log in with two different Microsoft accounts. What steps…
Unable to add the users to the admins group in databricks workspace
Could not add the users into admins group of dataricks workspace (if users are associated with some groups) using PowerShell module "Update-DatabricksSCIMUser -UserName $usermailID -GroupNames admins -Entitlements allow-cluster-create" But…
How to enable BitLocker autounlock on USB device from Powershell
Hello, I created a script to enable bitlocker on a USB storage device. In the same script after I wait for the encrypt status to reach 100% I tried to enable autounlock with the following line: Enable-BitLockerAutoUnlock -MountPoint "D:" Once…
How to get all users with alias as subdomain
Hello All, We need to pull a report where users having alias as our subdomains We have around 20k users and we need to filter out them with our subdomains (15). Please suggest a quick and easy to figure it out, pulling out the entire report and checking…
Microsoft Entra ID, Last Sign In
Good afternoon. I am a tenant administrator, I need to obtain the last sign in of the users, currently I see that I get the following error, it is worth mentioning that I always use this script and I did get the information but a few days ago I started…
PowerShell Command to find duplicate documents in SharePoint Online
We have lot of duplicate documents in our SharePoint online. Looking for help from the community. Can PowerShell command be used to do the following? Identify duplicate documents on each site/library. Move them to a another library where they can be…
How to fix 'System.Net.ServicePointManager' error when I open Powershell?
I have tried everything that I could imagine. Things like, sfc /scannow, DISM, CHKDSK, Restore my Windows twice, changing the machine.conf to default and so long, any of these worked. So I want really to know if I can fix this problem with something that…
Getting error when deploying AKS cluster with ARM template using Marketplace application:
{ "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage…
my pc restarts itself when i play a game
my pc restarts itself in any time when i play games mostly on roblox the most game that my pc powers off the most but when i play bigger games like warzone or any cod nothing happens - mabye it restarts 1 time but not so much like roblox i had this…
Need script for java uninstallation
I am looking for a script that can uninstall Java JDK and JRE from the system but should not uninstall OpenJDK

IP assignment
Hello, We have one virtual machine in azure, which has an interface with a lot of IP Addresses (25 IPs+ as secondary, see please screenshot). Also I have one identical virtual machine (state is down). And in case of failure of first machine I need to…
How to uninstall Chrome Apps silently with powershell?
Hi, I'm trying to uninstall silently a Chrome app but i have still the confirmation pop up before uninstall. I have used the following switches but nothing works: --quiet, --q, --silent, --s, --force-uninstall, --qb. The uninstallation command is…
How to get the dates of In-place Holds (eDiscovery Holds) applied to a list of mailboxes
Hello All, How to get the dates of In-place Holds (eDiscovery Holds) applied to a list of mailboxes using PowerShell
Enable Teams recognition setting for only one user or group
Hello, Please i need your help on this issue. We used Set-cCsTeamsAIPolicy to create a new policy to enable Face/Voice recognition and applied it to an account with Grant -CsTeamsAIPolicy command (screenshot attached). It's been more than a week but the…