2,780 questions with PowerShell-related tags

Sort by: Updated
1 answer

PowerShell commands for virtual networks and where is peered to.

PowerShell commands for all virtual networks and where is peered to in azure tenant.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,612 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-30T11:59:45.83+00:00
Nana Poku 140 Reputation points
commented 2025-01-31T13:59:37.0066667+00:00
Rohith Vinnakota 2,180 Reputation points Microsoft Vendor
2 answers

Configuring the Azure Storage Account Access keys automated regular rotation?

What is the best way to enable and configure the Azure Storage Account Access keys automated regular rotation? I need to get both Azure Storage Account Access keys regularly rotated daily. Thank you.

Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
273 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,346 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,919 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-20T05:48:21.6466667+00:00
EnterpriseArchitect 5,586 Reputation points
commented 2025-01-31T13:38:11.2266667+00:00
Nandamuri Pranay Teja 405 Reputation points Microsoft Vendor
0 answers

How do I connect to the same wireless network ssid with different username and credentials with a script on my windows pc?

I need to test the connection to a unique wifi SID using credentials different (a list of username and password; once authenticated i need to ping a google dns in order to verify that internet can be reached for any connection established with…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,019 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,126 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,384 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,600 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-31T12:18:54.74+00:00
Pietro Guzzetti 0 Reputation points
1 answer

can't find calendar data for certain resource accounts

I'm attempting to get info on some of our resource calendars. Since this doesn't function well within the EXO Powershell, I was pointed towards the MSGraph module. So I use these commands: $StartDate = "2024-01-01T19:00:00-08:00" >>…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,919 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-29T15:20:42.2633333+00:00
Jamro Chris 0 Reputation points
commented 2025-01-31T10:18:55.9333333+00:00
Rajat Vashistha-MSFT 280 Reputation points Microsoft Vendor
3 answers

Exporting sharepoint folders and sub-folders names + permissions

Hi team, I have a SharePoint site with a lot of folders, sub-folders, and sub-sub-sub-folders... Each folder has different accessibility. I would like to export a csv file with: Folder name Folder location Member names who have access (permission) to…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,152 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2023-02-26T09:22:42.75+00:00
Tamir Giladi - Comoz Technologies 40 Reputation points
answered 2025-01-31T09:38:10.0433333+00:00
Rajesh Manickavel 0 Reputation points
1 answer One of the answers was accepted by the question author.

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

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,612 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,066 questions
asked 2025-01-30T05:14:57.5566667+00:00
JYLVEN TARRAJA 80 Reputation points
commented 2025-01-31T08:47:31.2466667+00:00
SUNOJ KUMAR YELURU 14,976 Reputation points MVP
2 answers

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 Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,711 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,214 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-30T20:46:33.41+00:00
Mani 316 Reputation points
answered 2025-01-31T08:35:18.0966667+00:00
Vasil Michev 112.6K Reputation points MVP
2 answers

How to copy / move emails from one mailbox to other using powershell

I would like to copy emails from one mailbox to other using powershell

Microsoft Exchange Online
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-29T05:37:24.1833333+00:00
Prem Kumar Doddi 0 Reputation points
commented 2025-01-31T08:14:33.11+00:00
Jake Zhang-MSFT 8,700 Reputation points Microsoft Vendor
0 answers

How to update a sharepoint multi value person/group field with graph

I want to update a multi value person field within a SharePoint list. I use the following code. But nothin will hapen. I can update a single value person field but i am unable to update a multi value field. Also Co-pilot doesn't give me much help. #…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,919 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,152 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-31T07:53:35.84+00:00
Ferdieh 0 Reputation points
1 answer

Using logic apps to place a file into sharepoint

I am using logic apps to read in results of a jotform and place the responses into SharePoint as a pdf. The form has a file upload question. I want to place the attached file into SharePoint as well but am having trouble. The part that wont work is shown…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,332 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-27T21:25:44.3566667+00:00
Leo Cappello 0 Reputation points
commented 2025-01-31T07:41:19.25+00:00
Shireesha Eeraboina 1,150 Reputation points Microsoft Vendor
2 answers

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

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,711 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
564 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,781 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,612 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-28T05:39:48.2333333+00:00
JYLVEN TARRAJA 80 Reputation points
answered 2025-01-31T07:06:45.07+00:00
Jake Zhang-MSFT 8,700 Reputation points Microsoft Vendor
1 answer

PowerShell Commands to Extract External User Email Addresses

There is a need to retrieve email address information of external users for supporting an email campaign. Looking for PowerShell commands that can extract all email addresses from the mailbox, specifically targeting external users outside the…

Microsoft Exchange Online
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,432 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,711 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-30T19:11:59.9333333+00:00
Mohana Reddy 80 Reputation points
answered 2025-01-31T07:03:11.8366667+00:00
Alex Zhang-MSFT 4,105 Reputation points Microsoft Vendor
1 answer

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.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,619 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,612 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,066 questions
asked 2025-01-31T00:15:56.0166667+00:00
JYLVEN TARRAJA 80 Reputation points
answered 2025-01-31T06:09:27.5866667+00:00
Sandeep G-MSFT 20,376 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

How to set the Entra ID User or Guest account expiry date to prevent login / disabled?

Using PowerShell Graph SDK or any other means, how can I set the Expiration date of my Entra ID User, or Guest 7 days from now or…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,919 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
3,007 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,066 questions
asked 2025-01-30T06:21:57.39+00:00
EnterpriseArchitect 5,586 Reputation points
commented 2025-01-31T04:24:01.1+00:00
EnterpriseArchitect 5,586 Reputation points
1 answer

How to modify a Standard template site with Sharepoint management shell

Hello I need to create a new custom organization template from a site created with the standard project management template. I use a SharePoint shell and generate an organization template but when I use it to create a new site the changes are not passed…

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,241 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-30T10:51:44.8166667+00:00
Amagoia Cormenzana 0 Reputation points
answered 2025-01-31T02:36:28.6266667+00:00
Xyza Xue_MSFT 27,966 Reputation points Microsoft Vendor
0 answers

A parameter cannot be found that matches parameter name 'List'

I have been trying to build a powershell runbook that captures the source document library's folder structure and cloning it to a target sites document library using PnP PowerShell. I keep running into the same error that I can't seem to resolve. At…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,298 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,241 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-30T21:38:45.6166667+00:00
DKADM 0 Reputation points
edited the question 2025-01-31T01:45:05.82+00:00
Emily Du-MSFT 49,461 Reputation points Microsoft Vendor
1 answer

Function app deployments of zip files using azure cli in Microsoft Azure

Function app deployments using zip files from azure CLI are showing successfull but the functions are not getting rendered in the function app. Even tried with Microsoft Powershell as well to deploy but still getting the same issue. The function app…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,373 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-30T08:49:35.0433333+00:00
Kasyap Velavarthipati 0 Reputation points
commented 2025-01-30T17:12:21.0833333+00:00
Martin Brandl 0 Reputation points MVP
1 answer

How do I use PnP to move large amounts of files without breaking sharing links and permissions?

I'm trying to find an archiving solution for my company that's easier than using the GUI and scrolling through large amounts of files and folders and manually using the Move To button. I have written a script to move files and folders from a users…

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,287 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,241 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-27T20:10:17.82+00:00
Riley B 0 Reputation points
commented 2025-01-30T08:43:39.6166667+00:00
Xyza Xue_MSFT 27,966 Reputation points Microsoft Vendor
1 answer

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,919 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,612 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,066 questions
asked 2025-01-30T05:02:33.4+00:00
JYLVEN TARRAJA 80 Reputation points
answered 2025-01-30T05:42:41.7766667+00:00
PaVee SK 0 Reputation points
1 answer

How to get OneDrive URL from Site ID in PowerShell?

Hi, I have generated OneDrive report in which only site id received. I am looking for PowerShell command if enter Site ID then give OneDrive URL. Need help.

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,287 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,241 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
asked 2025-01-29T13:04:42.3533333+00:00
Prakash Kumar Singh 40 Reputation points
answered 2025-01-30T02:58:02.3933333+00:00
Xyza Xue_MSFT 27,966 Reputation points Microsoft Vendor