2,312 questions with PowerShell-related tags

Sort by: Updated
1 answer

When will PowerShell 7,1(preview) be released for GA for Azure Automation runbooks?

Is there a date for the GA release of PowerShell 7.1 for use in Azure Automation runbooks?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,192 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-02T02:09:17.7433333+00:00
Robin DiCicco 0 Reputation points
commented 2023-02-06T19:42:17.68+00:00
Monalla-MSFT 12,846 Reputation points
1 answer

Split a string from a table in a txt

Why doesn't it split/ remove the other two values in front of the searched value? I only need the value after ttt. Auto Fahrrad Roller ------------------…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-06T15:06:50.6133333+00:00
youki 1,016 Reputation points
answered 2023-02-06T19:37:37.3833333+00:00
Rich Matheisen 45,831 Reputation points
3 answers One of the answers was accepted by the question author.

How to upload a .csv or .xlsx file to a SharePoint site using the Microsoft Graph Files API

My company wants to move data in .xlsx files from a SharePoint channel to a database. A part of this process is being able to archive the files within the SharePoint site. I have been working tirelessly to figure out how to upload a .xlsx file to a…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,409 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,257 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-01-23T23:17:08.2366667+00:00
Cyrus Majidy 25 Reputation points
accepted 2023-02-06T13:07:31.4066667+00:00
Cyrus Majidy 25 Reputation points
2 answers

Manage senders for impersonation protection license required and impact?

Does anyone know what the minimum license required to utilize the Manage senders for impersonation protection like below? Because I have 300+ users to add, and not all of them using E3 or E5, some of them are using just F3 and E1 or Exchange P1…

Microsoft Exchange Online
Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
527 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,409 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,374 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-02T03:26:57.0433333+00:00
EnterpriseArchitect 5,136 Reputation points
commented 2023-02-06T07:43:43.98+00:00
Jame Xu-MSFT 4,171 Reputation points
1 answer

How can a make a copy of a Site Collection and to another Web Application?

How can a make a copy of a Site Collection and to another Web Application?

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,803 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-02T03:45:49.57+00:00
Michael Williams 21 Reputation points
commented 2023-02-06T07:04:05.3433333+00:00
AllenXu-MSFT 18,361 Reputation points Microsoft Vendor
0 answers

An unexpected error occured while processing the request. Tracking ID

I have a powershell script that I had successfully used a couple of days before and created a MySQL Flex database. I tried to create another database and I was getting an error regarding admin login. I have made some efforts until I understand that…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
763 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-05T20:51:23.5+00:00
Mike Sarafidis 1 Reputation point
commented 2023-02-06T06:30:55.54+00:00
Mike Sarafidis 1 Reputation point
2 answers

Is there any way to load wininet.dll using macros, scripts, or PowerShell??

Hi guys ! I use a couple of macros that handle files in SharePoint thru commands like "Dir" , "Save" , "open" etc. Many of these commands (Dir for instance) do not work if wininet.dll is not "loaded". In the…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,161 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,681 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,257 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-02T14:21:29.1933333+00:00
Marcelo Buarque (Nokia) 0 Reputation points
commented 2023-02-06T06:03:11.7733333+00:00
AllenXu-MSFT 18,361 Reputation points Microsoft Vendor
1 answer

Powershell script to stop services in Sp2016 Central Admin

Hi Team, Need help in preparing a PowerShell script for disabling few services in SharePoint 2016. Purpose- We are upgrading Nintex from SP2013 to SP 2016, and we need to follow manual steps repeatedly due to more number of Nintex content DB's…

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,803 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
549 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-01-18T13:41:03.3866667+00:00
Ganesh 46 Reputation points
commented 2023-02-06T05:38:46.4166667+00:00
RaytheonXie_MSFT 33,641 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Utilizing Remove-MgGroupMemberByRef to remove Specific user only from A group?

Hi People, After reading: https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.groups/remove-mggroupmemberbyref Due to the lack of examples and documentation, I need some help using the Remove-MgGroupMemberByRef cmdlet. I wanted to remove…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,409 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,629 questions
asked 2023-01-30T05:45:42.7733333+00:00
EnterpriseArchitect 5,136 Reputation points
commented 2023-02-06T01:04:05.3433333+00:00
EnterpriseArchitect 5,136 Reputation points
4 answers

How do I take out the last digit of an IP address in PowerShell?

We've been doing IPv4 and IPv6 dual-stack recently. That is, add an IPv6 address to the original IPv4 address. Looking at Figure 1, the last bit (network bit) of the IPv4 address and the IPv6 address are the same. Since there are many hosts, we plan to…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-04T16:24:47.1433333+00:00
Wu Zhengqiang 0 Reputation points
commented 2023-02-05T22:17:07.71+00:00
Rich Matheisen 45,831 Reputation points
1 answer

How do I check my double check my address before my exam?

A friend told me that he got kicked out of his exam because the address he put in Pearson didn't match the address on his ID. How do I double check the address I put in Pearson?

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-05T18:54:30.9233333+00:00
Micah Sweeney 0 Reputation points
answered 2023-02-05T19:28:43.2766667+00:00
JimmySalian-2011 42,066 Reputation points
4 answers

Create excel data to LDIF format using PowerShell

My Requirement is like, we will ask requester to fill an excel sheet where they will put the values in column uiddn(A1 in excel sheet) and nIds(B1 in excel sheet). For Example: uiddn nIds uid=uid12345,cn=abc,cn=def,dc=xyx…

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,456 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-02T10:15:55.3533333+00:00
Satyajit Rout 0 Reputation points
commented 2023-02-05T16:27:27.19+00:00
Rich Matheisen 45,831 Reputation points
3 answers

Powershell cript to get list of services accounts

Hello :) I am looking for a powershell script to retrieve the list of local service accounts Thank you

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-03T19:55:48.74+00:00
Ali AMG 0 Reputation points
commented 2023-02-04T16:10:51.53+00:00
Rich Matheisen 45,831 Reputation points
2 answers One of the answers was accepted by the question author.

Can I use a variable in my seach base?

Afternoon all, I'm working on a script that will allow folks to generate a list of computer names from an OU they input. The last bit is having an issue with my search base input and I'm trying to figure out what I'm doing wrong. Here is the…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-03T00:06:22.77+00:00
commented 2023-02-03T21:43:13.6633333+00:00
3 answers

Az Hybrid Connection Manager Configuration - Az Powershell Function

Hi All, I am configuring a Azure PowerShell function to communicate with Windows AD using Hybrid Connection Manager. Everything seems to be connected and I was able to run the basic cmdlet "Get-Service"(Code # 1) successfully. Code # 1 # Input…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,642 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,216 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,456 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-01T22:15:24.6933333+00:00
PS 396 Reputation points
edited an answer 2023-02-03T21:18:42.7766667+00:00
Rich Matheisen 45,831 Reputation points
6 answers

Struggeling with Invoke-WebRequest

Hello, I'm trying to parse and download BIOS updates from Dell, when I run the script on a Dell OptiPlex 7080 I get the following error. Message: Cannot convert 'System.Object[]' to the type 'System.Uri' required by parameter 'Uri'. Specified method is…

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
854 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-01-31T11:52:43.47+00:00
lupinlicious 136 Reputation points
commented 2023-02-03T16:23:54.5333333+00:00
Rich Matheisen 45,831 Reputation points
2 answers One of the answers was accepted by the question author.

Silent install of Office using a variable

Hello I`ve wrote a script for installing programs directly from USB drive in powershell, but as before i used the just the paths so start-process "D:\programs\program.exe" for ex. everything was fine but then it stroke me that some computers…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,462 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-03T13:50:57.6933333+00:00
Krzysztof Kołodziejczyk 20 Reputation points
commented 2023-02-03T15:24:41.3066667+00:00
Krzysztof Kołodziejczyk 20 Reputation points
2 answers

Registry Address appends with folder address, throws error ?!

Hi, I have the below code which adds a newKey in the Registry, then adds Property and Value to the Key. $reg = "Registry::\" $keyPath = Join-Path -Path $reg -ChildPath 'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows…

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,456 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-02T22:30:14.5166667+00:00
touqeeranjum 80 Reputation points
answered 2023-02-03T08:49:11.1266667+00:00
touqeeranjum 80 Reputation points
2 answers

How to deploy color pallets in powerpoint using powershell/gpo

Hi, I want to be able to deploy a color pallet using powershell and GPO in Powerpoint so it will be available for all users in my organisation. Does anyone know how ths can be done or is there a script available?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,074 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-01-24T11:21:22.7566667+00:00
Kamran Mallik 1 Reputation point
edited the question 2023-02-03T07:25:07.6233333+00:00
Emi Zhang-MSFT 23,811 Reputation points Microsoft Vendor
3 answers

Access Azure File share through private endpoint

I'm trying to enable backup using PowerShell for the file share of storage accounts. In current environment we disabled public network access and using only private endpoints. I have used Runbook with private endpoint but still failing to list the file…

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,221 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.
2,924 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
489 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,192 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,312 questions
asked 2023-02-01T19:04:05.28+00:00
Shekar Yenagandula 116 Reputation points
commented 2023-02-03T04:17:42.0033333+00:00
Silvia Wibowo 3,571 Reputation points Microsoft Employee