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…
Blank windows security
I have trouble connecting to university wifi and it state "needed action". So I tried to reset my laptop and choose option keep my files only. When the process done, I tried to connect to the university wifi but the same problem occur. When I…
How to get the details of the all Azure VM's with respective all Tag associated with it in excel sheet with the help of powershell?
Is there any script or command to get the report of all azure VMs in an excel sheet with PowerShell's help, which includes the All tags associated with that, RG, and subscription?
Is there any powershell script by which I can find utilization details of the disks attached to a particular virtual machine?
I want to know how much is the free space and how much is the available space for all the disks present in a particular virtual machine ? FYI: The VM is present in Microsoft Azure.
Send powershell script output to email
I am working on a script to send email the new created server last 30 days ....I have script ready but I want to send output to email accordingly, if there is any new server then it will send email with the new server data but if there is no new server,…
Command line to remove confirmation prompt | Remove-CMContentDistribution
Hello Team, please let me know how to execute the command without confirmation prompt like below Remove-CMContentDistribution -PackageId "CON0003A" -DistributionPointName "DP-Contoso.COM"
Massively uninstall applications with PowerShell
Hello Team. I have the following script thanks to colleague Garth Jones and it consists of removing applications by doing a search in the registry, specifically from uninstallstring. I would like to improve it and that instead of being an application it…
Is there any function by which I can get details of Data disks attached to the VM like Disk Size,Space allocated/Remaining disk space ?
I am trying to get the details for Data Disk attached to the particular VM. The Main purpose is to get notified when the disk space is highly utilized. I can get the names of Data disks attached to the VM , but not getting the details like Disk…
Run Schedule Task that Connects to Graph
I need to create a Scheduled Task that will run a Powershell script that connects to Graph. What is the best way to setup the task so the creds are passed and it can log into Graph unattended. I have read some have created an App for this in Entra but I…