I want to use Get-ADUser to pull the "info" AD attribute, expand the property named info and export the data to a csv. How do I proceed?
I want to use Get-ADUser to pull the "info" AD attribute, expand the property named info and export the data to a csv. How do I proceed? For example, when I use this command: Get-ADUser * -Unlimited -Properties info | Select Name, info |…
PowerShell
Bulk license assign
need to bulk assign license with powershell for all unlicensed users
PowerShell
how to fix pstools on my computer
why can't it run?
PowerShell
How to run PowerShell with admin right
Hi, I need to run PowerShell with admin rights to get permission to run a script in C# code. If there is a solution please leave a comment, many thanks.
.NET
C#
PowerShell
How to completely uninstall WSL after failed installation?
Hi, I have tried to install WSL but the installation failed. I now would like to remove all partially installed parts of WSL to attempt a new, clean, installation. Now, when trying to enter any WSL command in the Windows PowerShell, I get "The…
PowerShell
Windows powershell keeps randomly opening for a split second..
Well the main issue is when i log into my pc after like 10-20 minutes. The windows powershell randomly opens up for a split second. this usually happens in every 20-30 minutes. I really dont know what thing is causing this issue? PLease somebody help me…
PowerShell
Export Status MFA (PowerShell- MgGraph)
I request your support, please. I need to obtain an export of all the tenant's users. I need to obtain the MFA status (Disabled, Enabled, Enforced). I previously used the MSOnline module, but it no longer allows me to use it. I believe it's discontinued.…
PowerShell
Filtering shared mailboxes from MgUser results
I have a tenant that has multiple brands, with each brand denoted by a domain. I am trying to put together a script to list the licenses for each user, including their brand name. This has been successful so far. The only thing I can't figure out is…
PowerShell
How can I block a mass number of senders within Outlook Exchange?
I have an end user receiving massive amounts of spam messages from many addresses. In fact, they have over 4000 senders sending over 17000 messages. I need to block the sending addresses in in large quantities. Is there a way for me to upload a csv file…
Microsoft Exchange Online
Microsoft Exchange Online Management
PowerShell
How do I copy and paste a whole file structure within teams as well as the custom columns
I have made a teams channel with a file structure I want to use again and again. Along side the each folder is and columns with a single line of text explaining what needs to go in the folder, the relevant owner or owners and an incomplete / completed…
Microsoft Teams
SharePoint
PowerShell

Connect to ExchangeOnlineManagement powershell module returns error
Script is called from Workato, and runs from a virtual machine that has exchange online 3.6.0. This was working up until last week. UnAuthorized At C:\Program…
PowerShell
Expired or Invalid pagination request
Write-ErrorMessage : Expired or Invalid pagination request. Default Expiry time is 00:30:00 At C:\Users\127079\AppData\Local\Temp\tmpEXO_nyok0szv.zqj\tmpEXO_nyok0szv.zqj.psm1:1189 char:13 Write-ErrorMessage $ErrorObject …
PowerShell
The term 'Copy-PnPList' is not recognized as the name of a cmdlet
I am facing below issue while using pnp-powershell with SharePoint Online: Copy-PnPList : The term 'Copy-PnPList' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was…
PowerShell
Power Query not importing all the Columns in a Worksheet
Hi, I'm using the Powerquery formula Excel.Workbook (File.Content) to connect to a folder that has a excel file with several worksheets in it. I'm then selecting the worksheet that I need to clean and get the required information to load in a Table. …
PowerShell
Output Debug-StorageSyncServer -FileSyncErrorsReport to a file
I've tried > and *>, but when I run Debug-StorageSyncServer -FileSyncErrorsReport it just dumps it to standard out. Any…
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
PowerShell
Need to verify purged emails within the discoveryholds folder of user's archive mailbox
Need to verify purged emails within the discoveryholds folder of a user's archive mailbox. The emails have been purged and verified via purview to be in the discoveryhold folder in archive mailbox but cannot get a PS cmd to verify and show the email…
PowerShell
Script Not Running as Administrator on Single Account
the script is not being run as adminstrator when i am on the only provide account
PowerShell
How to run powershell script through PSF Json file in a MSIX packaging?
I need to create a shortcut under userprofile sendto folder through PSF +Json file in MSIX package. PowerShell script has created for shortcut creation and it is working manually as expected. But through json file , PowerShell script is not working due…
PowerShell
How do we fix 0x8a15000f : Data required by the source is missing?
I Am trying to run winget on a widows 11 pc and keep getting the error 0x8a15000f : Data required by the source is missing. Have done update reset and still get the issue with the same error.