2,322 questions with PowerShell-related tags

Sort by: Updated
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,322 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,460 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 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,906 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,322 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,906 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,322 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,662 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,236 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,460 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 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,906 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).
855 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 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,906 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,470 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 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,460 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 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,092 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 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,906 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,227 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,936 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.
491 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 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
4 answers

Set arithabort ON When executing a command from powerbuilder application

Script to Set arithabort ON When executing a command from powerbuilder application once session logon.

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-02-02T11:29:06.9633333+00:00
Kriti Ana 0 Reputation points
edited the question 2023-02-03T01:38:14.0266667+00:00
Seeya Xi-MSFT 16,461 Reputation points
1 answer One of the answers was accepted by the question author.

TpmVscMgr cmd not working when used with /prompt in PowerShell Windows 10 task

Working on Windows 10, I need to make it possible for a user mode (i.e. non-admin) application to create virtual smart cards (VSC). Yet it seems that VSC's can only be created in admin mode. The solution I have come up with is like so. Register a…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,182 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-02-01T17:02:14.5333333+00:00
Denis Rutten 40 Reputation points
commented 2023-02-02T20:50:51.1233333+00:00
Rich Matheisen 45,906 Reputation points
1 answer One of the answers was accepted by the question author.

For SharePoint Online, what PowerShell can generate a report of all users who can grant access to others on a site or library or a folder?

Hi there For SharePoint Online, what PowerShell can generate a report of all users who can grant access to others on a site or library or folder? (Users may or may not be a Site Owner, they might have Full Control on just a folder or even just a…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,273 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-02-02T00:35:59.87+00:00
frob 4,216 Reputation points
accepted 2023-02-02T17:28:01.62+00:00
frob 4,216 Reputation points
2 answers

使用Powershell的cmdlet退域出错

场景:域控制器DC1上的计算机帐号PC01被删除且不能找回,终端计算机使用Powershell的cmdlet指令退域; 结果:使用remove-computer进行退域至工作组workgroup失败,但使用GUI进入退域至工作组workgroup成功; 请问如何解决这个故障?

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-02-02T09:39:32.55+00:00
ZhanHui Mai 0 Reputation points
answered 2023-02-02T17:13:40.9133333+00:00
Limitless Technology 44,116 Reputation points
2 answers One of the answers was accepted by the question author.

How to fixed error 429 in SharePoint PowerShell

I'm trying retrieve OneDrive site using like this and it's working fine but sometime I get " The remote server returned an error: (429)." I do believe I'm getting that error because I request too many time in my script and getting throttled.…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,273 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,807 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,597 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,460 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-01-24T23:35:57.3766667+00:00
Aase Nomad 246 Reputation points
commented 2023-02-02T13:42:01.23+00:00
Aase Nomad 246 Reputation points
3 answers

How to get only values for each server rather than the property names for every server

$servers = Get-Content -path C:\temp\fileshares.txt foreach ($server in $servers) { Write-Host "Getting file shares from $server..." $fileshare = Get-WmiObject -Class Win32_Share -ComputerName $server | Where-Object {$_.Name -like…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-01-31T19:30:03.2733333+00:00
Anudeep satrasala 0 Reputation points
answered 2023-02-02T10:33:25.7766667+00:00
Limitless Technology 44,116 Reputation points
1 answer

How to find Microsoft store xbox game product ID?

Example : https://www.xbox.com/en-us/games/store/dead-space/9NLB6V0GNC9P I want to get Dead-space game product ID : 9NLB6V0GNC9P I use powershell command (Get-AppxPackage) to get some information about packages But do not find any information about…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-02-01T02:31:05.0166667+00:00
Hank Lin 1 Reputation point
answered 2023-02-02T09:13:17.7166667+00:00
Limitless Technology 44,116 Reputation points
3 answers

Using container to run multiple different scheduled PowerShell scripts regularly?

People, I need some help and guidance in deploying Docker or Container on Azure, my aim here is to be able to run Active Directory, M365, Azure and other PowerShell scripts as scheduled tasks. Using this…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
428 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
673 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,993 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-01-23T03:29:58.7766667+00:00
EnterpriseArchitect 5,136 Reputation points
commented 2023-02-02T07:53:11.11+00:00
vipullag-MSFT 26,016 Reputation points
1 answer

Script exclusão de usuários windows server

Estou com um problema em um script que criei para fazer a exclusão dos usuários com mais de 30 dias sem logar, e fazer a exclusão de suas respectivas pastas no servidor, porém quando rodo o script não acontece nada, ele não dá nenhum erro, porém também…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,625 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,236 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-01-31T11:13:20.18+00:00
Jackson Florêncio 0 Reputation points
commented 2023-02-01T22:43:08.85+00:00
MotoX80 32,911 Reputation points
2 answers

Searching registry key, find its property, and replacing the value ?!

Hi, I'm going registry because when I do a backup-GPO with Powershell in Windows Server 2022, and restore it in a different server it does not restore the Network Manager List - Network Name Value (which is TEST in this case). I want to find a registry…

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,460 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,322 questions
asked 2023-01-31T22:29:22.3266667+00:00
touqeeranjum 80 Reputation points
commented 2023-02-01T19:58:04.7166667+00:00
JIAN WANG 335 Reputation points