A positional parameter cannot be found that accepts argument
Hi All I used the following syntax to grant "TempPolicy1" globally. However, I am encountering an error while trying to remove this policy "TempPolicy1" globally Please guide me. Grant-CsApplicationAccessPolicy -PolicyName…
PowerShell Script for Accessing Sent Emails in Outlook and Exchange
I am developing a PowerShell script to retrieve sent email IDs from my Outlook sent mailbox for both the "To" and "CC" sections, from the beginning of the email account to the current date. I managed to create a script that works for…
How to generate a report for the list of all enterprise application that is using a single sign on (SSO)
Please asking for your help on how to generate a report to view the list of all Enterprise applications using a single sign on authentication via in a powershell. Thank you in advance
Error "Insufficient privileges to complete the operation" in Powershell - Works ok on Graph Explorer though
Hi, I'm new to using graph and ran a query on the graph explorer which worked ok: https://graph.microsoft.com/v1.0/groups/xxxxxxxxxxxxxxxx/membersWithLicenseErrors?$select=userPrincipalName Now, I am trying to the equivalent command in powershell and it…
Powershell script for Microsoft Entra to reset the password in AD account user after 14 days
Please asking for your help on how to create a script in a powershell to reset the password of the AD users (Microsoft Entra) after in the 14days. Thank you in advance
How to generate a list in exchange, user have set a rules in Auto Forwarding emails to Another Mailbox using powershell
Please help me to generate a report via in a powershell, to view the list of mailbox name, Inbox rule, Forward to, Redirect to Forward as Attachment and rule status. Thank you
How to generate a report via powershell,list of all Enterprise applications using a single sign on authentication
Hi, Good day Please asking on your expertise in generating a list of enterprise applications in Microsoft Entra to identify who are using the Single Sign On authentication. Thank you in advance.
Connect-PnPOnline: Access denied/unauthorized operation
I am simply trying to manage an existing site by adding/removing folders and files, nothing special. I am new to the App Registration approach, but I read through lots of documentation and in the end I always see the requirement of having…
How to generate list of user in exchange have a setup of email forwarding and also the recipient via powershell
Please help, how to generate a list via powershell. List of all user have a setup of Email forwarding and their recipients. Thank you in advance
Using Git commands with Service Principal authentication.
I have been granted service principal access to my Azure DevOps repository. Below is the script I'm using: $resource="499b84ac-1321-427f-aa17-267ca6975798" $TenantId=" " $ClientId=" " $ClientSecret=" " $TokenUri =…
Two Azure Domain, how to switch account when generating a report via powershell?
Please help me on this. Two azure domain, want to generate a report using a powershell unable to switch account for the other domain. How to switch account to other azure domain when generating a report via powershell. Thank you
i am getting catastrophic error while installing wsl in my windows 11.
i tried all the methods and everything is already enabled, such as linux subsystem for windows in control panel, virtualization in system BIOS, but nothing is working
inactive mailboxes
Hi All, I have a few inactive mailboxes under a retention policy in the Microsoft Purview Portal (Data Lifecycle Management → Retention policies → RP01). Let's say the policy is named RP01, and its GUID is u98k89mn-9876-ht68-mjki-kj78oophgy768. Exporting…
Linux Distribution
Hi All, I want to install Ubuntu 22.04 LTS on Windows Server 2019. I am following the MS article linked below: https://learn.microsoft.com/en-us/windows/wsl/install-manual#downloading-distributions The article mentions performing the steps listed, but…
How to force PS output to English instead of Espanol?
I have a WIndows Server 2012 configured with es-ES as the default language. Is there a way to get PowerShell commands to output in English? [SYSTEM@ssave-Windows-P ~] TestUser$ diskpart Microsoft DiskPart versi▒n 6.3.9600 Copyright (C)…
Why do you make it impossible to ask a question in ANY community forum?
I always have to dig and drill and go through millions of irrelevant questions. Why can't you simply put a link right at the top to just ask a question. I was on the Tech community. I looked all over the place and there is NOTHING to click on that lets…
Need powershell command to export Multiple “Teams Call-Queues” data in to a .csv file
I used to export all call-queues data when it was on skype platform without any issues, but with Teams platform, when i run the command to export and pipe the data into a .csv FILE, it never exports "overflowactiontarget" &…
Access denied when trying to update Windows Subsystem for Linux (wsl)
Im using Visual studio code and it gives me this message "Windows Subsystem for Linux must be updated to the latest version to proceed. You can update by running 'wsl.exe --update'. For more information please visit https://aka.ms/wslinstall Press…
Automating with PowerShell - Move user's onedrive files to an archive folder on SharePoint when offboarding employee
Currently we go through a manual process of; login to office365 with global admin. go to the user's properties and create onedrive link to the user's files. click the link, select all files/folders then move them to a sharepoint archive…
Intune PowerShell - Enforce script signature check
Could someone explain the PowerShell script Enforce script signature check in the Intune Portal? https://intune.microsoft.com/#view/Microsoft_Intune_DeviceSettings/DevicesMenu/~/powershell There isn't any documentation or instructional piece available…