2,161 questions with PowerShell-related tags

Sort by: Updated
0 answers

ExchangeOnline Powershell - Get-QuarantineMessage -ReleaseStatus Requested: no results

I'm having a problem running a Get-QuarantineMessage Powershell script for ExchangeOnline in Powershell. My manager is able to run it connecting to the exact same account and get results. When I run it, I just get brought back to the prompt without any…

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,161 questions
asked 2024-05-24T19:02:59.75+00:00
Erin Martin 20 Reputation points
commented 2024-05-25T02:09:50.92+00:00
Rich Matheisen 45,111 Reputation points
1 answer

Can we get a list of Microsoft forms made by a specific user or all users in a Tenant using MS Graph API or PowerShell?

Hi All, We need to list all forms created by a user with their Display name, UPN, Created date and the URL to the form. I'm asking this because we are in a middle of a business aquisition and and we need to migrate this data from our tenant to another…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,359 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,007 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,839 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-24T15:17:18.4166667+00:00
Pasindu Fernando 0 Reputation points
answered 2024-05-25T01:59:15.1133333+00:00
Quinton Ridgley 0 Reputation points
0 answers

PowerShell compares a file on a file server with a file uploaded to a SharePoint Online document library.

Good afternoon. I hope you are well. I have a question about how I can compare a file on a file server with a file uploaded to a SharePoint Online document library. In order to check if the file is the same or has changed to check if it needs to be…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,865 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,407 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-24T20:03:58.29+00:00
Jairo Javier Baleta Cali 131 Reputation points
0 answers

ExchangeOnline Powershell - Get-QuarantineMessage -ReleaseStatus Requested no results

I'm having a problem running a Get-QuarantineMessage Powershell script for ExchangeOnline in Powershell. My manager is able to run it connecting to the exact same account and get results. When I run it, I just get brought back to the prompt without any…

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,161 questions
asked 2024-05-24T18:56:18.4+00:00
Erin Martin 20 Reputation points
1 answer One of the answers was accepted by the question author.

Receiving Write-Error when trying to run Get-quarantinemessage cmdlet in Powershell

Hello, I am encountering a Write error when trying to run the Get-QuarantineMessage cmdlet in Powershell for Exchange Online. Related question:…

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,161 questions
asked 2024-03-06T16:56:00.1366667+00:00
Erin Martin 20 Reputation points
accepted 2024-05-24T18:38:16.1466667+00:00
Erin Martin 20 Reputation points
3 answers

How can I resolved error an Object reference not set to an instance of an object.

I am getting am Object reference not set to an instance of an object when I try to Run a Azure PowerShell Function to connect to Azure SQL Managed Instance. Anyone have any suggestions?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,382 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-23T19:25:50.8+00:00
Shields, Timothy 0 Reputation points
commented 2024-05-24T18:27:19.09+00:00
Shields, Timothy 0 Reputation points
0 answers

DisConnect-MgGraph not resetting Scopes

Please can you help. I am new to MgGraph in PowerShell I have been playing around with different scopes. I now want to remove then, so that I get back to least privilege to deploy my powerhouse scipt. I have restarted powershell Issued Disconnect-MgGraph…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-24T16:20:05.23+00:00
Bridget Tompkin (Galliford Try) 41 Reputation points
0 answers

Exporting very large OneDrive content ?

How can I save OneDrive for Business files to my local PC as a ZIP file (many or single)? I have OneDrive with a total of 3.4 TB and various directories, the largest of which is the camera Roll directory, with each subdirectory comprising 300-400 GB and…

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
866 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,865 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.
2,713 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,149 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-24T14:59:25.73+00:00
EnterpriseArchitect 4,871 Reputation points
1 answer

How to get list of all programs on system PATH that countain some characters in powershell/batch

So, i want to make a builder file for my C code, i use Clang compiler and wanted to link the Windows SDK's headers and make it multiplatform, so even VS 2015 is supported. I thought the easiest and best way will be to just find the programs that…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,562 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-24T07:33:56.0666667+00:00
Freziyt223 0 Reputation points
answered 2024-05-24T12:59:08.6666667+00:00
MotoX80 32,246 Reputation points
1 answer

Error attempting to CREATE USER FROM EXTERNAL PROVIDER using a User Assigned Managed Identity

I have an Azure Automation runbook (PowerShell 5.1) that attempts to run "CREATE USER <UserName> FROM EXTERNAL PROVIDER". This is part of a larger program, but this is the offending command so I created a test runbook to try and resolve…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,143 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-13T15:25:11.9066667+00:00
Mike Welborn 51 Reputation points
answered 2024-05-24T12:50:58.5966667+00:00
AnuragSingh-MSFT 20,671 Reputation points
1 answer

Sorry, but we’re having trouble signing you in. AADSTS700016: Application with identifier 'd1ddf0e4-d672-4dae-b554-9d5bdfd93547' was not found in the directory

Whenever I start a new session for connect-MSGraph, it defaults to using the old AppID, even if I’ve updated the AppID in the previous session. Please suggest a way to update the AppID permanently. I am expecting that “connect-MSGraph” session should…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,839 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,849 questions
asked 2024-05-23T10:34:22.19+00:00
Sivasankaran J 0 Reputation points
commented 2024-05-24T10:13:28.95+00:00
Sivasankaran J 0 Reputation points
1 answer One of the answers was accepted by the question author.

Sum of Calculated Columns using Power Automate

Hi! I am a newbie to Power Automate. I am looking for some help with my project re leave management system. I want to create a flow to get the sum of my SharePoint list calculated columns and auto populate them to another SP list column. I have 3…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,865 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-22T08:01:53.54+00:00
Josephine 20 Reputation points
accepted 2024-05-24T09:23:29.57+00:00
Josephine 20 Reputation points
1 answer

How to create SharePoint Document Library and create columns using PowerShell

Hi there, I am new to using PowerShell to create SharePoint. May I know where can I find the relevant script to create a document library and create column accordingly? Appreciated. Note: I searched some script but unsure if the building block makes…

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.
2,713 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-24T06:45:36.7+00:00
Chung Man 0 Reputation points
answered 2024-05-24T08:32:02.8166667+00:00
RaytheonXie_MSFT 32,166 Reputation points Microsoft Vendor
1 answer

Risk and consequence when executing Kerberos password reset in a Hybrid Azure AD - OnPremise AD DS?

What are the risks and consequences of resetting the Kerberos krbtgt account during business hours using the steps defined…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,994 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,407 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-04-24T12:19:23.93+00:00
EnterpriseArchitect 4,871 Reputation points
commented 2024-05-24T08:22:38.1333333+00:00
MukeshAgarwal-MSFTE 0 Reputation points
0 answers

Sign-out from M365 application using script

Hi Team, There are windows 11 machines in our environment in which we have M365 applications installed, and we are willing to sign-out current logged-in user account from all M365 applications present in user device using PowerShell script. Like most…

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.
3,963 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,422 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-24T07:12:46.8633333+00:00
Prabhjot Singh 165 Reputation points
1 answer One of the answers was accepted by the question author.

Does Dsregcmd \leave uneroll Win 11 device from intune??

Hi experts We have a Windows 11 device which is Hybrid joined as well as Co-Managed. We want to remove the device from the Intune. We are running the DSREGCMD /Leave command to unjoin the from hybrid. after this the device object is deleted from the…

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,422 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,477 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-04-25T08:57:41.8933333+00:00
Anant Bera 86 Reputation points
accepted 2024-05-24T04:51:06.4266667+00:00
Anant Bera 86 Reputation points
4 answers

unable to run the DSREGCMD from PowerShell while deploying from SCCM

hey experts we are trying to run dsregcmd command from PowerShell but we are getting an error that dsregcmd is not recognized as an external or internal command. We are deploying the script using SCCM with the user rights. we have updated the code…

Microsoft Configuration Manager
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-13T18:12:30.0433333+00:00
Anant Bera 86 Reputation points
answered 2024-05-24T04:49:28.2133333+00:00
Anant Bera 86 Reputation points
3 answers

Use PowerShell to enable 'Send copies of group conversations and events to group members' on a dynamic O365 group

I have done quite a bit of researching and asking 'Co-Pilot' without any luck. Essentially, I want to do what the title says, which is: Enable 'Send copies of group conversations and events to group members' for the specified group using PowerShell. The…

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.
3,963 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
410 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-23T20:54:43.1533333+00:00
Mark-3345 30 Reputation points
answered 2024-05-24T02:06:05.63+00:00
Bruce Jing-MSFT 1,305 Reputation points Microsoft Vendor
1 answer

Task Scheduler is unable to fetch credentials from Windows Credential Manager. It’s returning null for the username and password

We have one Task Scheduler job using Credential Manager to store service account credentials(Generic). After a password change, we started facing this issue. We have a PowerShell script configured as a Task Scheduler job that uses Credential Manager to…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,285 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,407 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-23T12:09:22.66+00:00
Ava Tomlinson 96 Reputation points
answered 2024-05-24T01:12:19.4233333+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 31,171 Reputation points Microsoft Vendor
0 answers

How to find the creation date of a custom Sensitive Information Type

Hi, I have 20+ custom sensitive information types that have been created in my tenant. I am trying to find out the date these were created and if possible, the user who created them. I have looked everywhere...in the Compliance Portal and in the…

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
964 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
asked 2024-05-22T13:19:22.08+00:00
Kadivec, Mojca 0 Reputation points
commented 2024-05-23T21:06:10.1233333+00:00
BhargavaGunnam-MSFT 27,651 Reputation points Microsoft Employee