I am using the PowerShell command Get-WmiObject Win32_SystemEnclosure | Select-Object -ExpandProperty ChassisTypes, and it returns a value of 35. I am trying to identify what this chassis type represents, but I cannot find this information in our document
I am using the PowerShell command Get-WmiObject Win32_SystemEnclosure | Select-Object -ExpandProperty ChassisTypes, and it returns a value of 35. I am trying to identify what this chassis type represents, but I cannot find this information in our…
I need to sequentially log two domain users on to a device to create the profiles at first logon
The scenario is we have 2 domain users that are used for public access machines (one child profile and one adult profile). We use the UWF to protect the hard drive. If the profiles are not created first before the write filter is applied then the…
How to Export Guest user accounts with their Last login details via Powershell script only
Hi Community, We are looking to export the Guest user accounts with their last login details. Please help us to share the Powershell script which could help us to export the required data from the extra ID.
restore data deleted in my db cosmos account
Hi all, i deleted my db cosmos account by accident, please help. I am not sure if there was nay backup, i deleted theis data a few minutes ago, only noticed now

Windows 11 terminal error message - Failed to reload settings
Every time I open a terminal I get the following error: Failed to reload settings Settings could not be reloaded from file. Check for syntax errors, including trailing commas The file exists Temporarily using the windows terminal default settings Can…
Register learn profile
I thought I registered for a learn profile for my account but no access to sandbox. How do I register for a learn account profile
Get-EXORecipientPermission : Error while querying REST service. HttpStatusCode=500
Working with ExchangeOnlineManagement v 3.7.1 and yesterday 3/13/2025 Get-EXORecipientPermission -ResultSize unlimited was working perfectly fine Today, 3/14/2025, I am getting this error Get-EXORecipientPermission : Error while querying REST service.…
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
Activate Azure benefit license for Azure Arc machines via Powershell or Azure Policy
Hi folks, is there a way to enable the Azure benefit license (Software Assurance) via Azure Policy or via Powershell? I only found some cmdlets/Policies for Azure Virtual Machines but not for Azure Arc Machines. Thanks
How to access old user folder?
I recently had an issue which caused me to have to reinstall windows onto a different drive, and now that I've got that done, I'm trying to copy over my old files to the new drive. Problem: I can't access my old user folder. Now, I'm no stranger to…


What are the steps and procedure to use gMSA as the Windows Server Service Account?
After creating the gMSA using the below PowerShell, how can I successfully replace the services in all of my Windows Server Application servers? New-ADServiceAccount -Name New-gMSA -DNSHostName Mydomain.com -PrincipalsAllowedToRetrieveManagedPassword…


azure sandbox
i cannot sign in my sandbox account in powershell and i have tried bash aswell with my azure free account

How can I use Powershell to update the number in an Auto Attendant's' Call Flow' - 'Call Routing' - 'Redirect Call' field?
We're looking to set up some On Call auto attendants which would redirect to whichever staff member was rostered on that week. I have some Powershell scripting in mind, but the critical problem is that I don't know how to script updating the number in an…
Issues using managed dependencies in Azure Functions with PowerShell - ExchangeOnlineManagement
Hi everyone, I am trying to deploy a simple Azure Function using PowerShell. However, I cannot load any modules. I have a module for ExchangeOnlineManagement I declared it in the requirements file. I also added managed depedencies to the host.json file…
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…