5,550 questions with Windows Server PowerShell tags

Sort by: Updated
0 answers

hexadecimal value 0x00, is an invalid character. Line 2, position 1

VbrAnswerFile_install.txt Hi Experts, We are running an PowerShell comment in that PowerShell comment we are calling the XML file and trying to install veeam software. I am getting an error like "hexadecimal value 0x00, is an invalid character.…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,794 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,221 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,550 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,590 questions
asked 2024-11-07T14:28:11.7+00:00
Jimmy Afflick 80 Reputation points
edited the question 2024-11-07T18:37:39.8233333+00:00
Jimmy Afflick 80 Reputation points
1 answer

server Error in '/' Application

When logging into our Rock portal this message pop up and we can not access the platform

Azure SQL Database
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,712 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,991 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
148 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,550 questions
asked 2024-11-05T17:33:24.8433333+00:00
BCC Admin 0 Reputation points
commented 2024-11-07T17:42:34.54+00:00
Mahesh Kurva 725 Reputation points Microsoft Vendor
1 answer

remover la app xbox por ps

Hi guys. I need to remove the Xbox app completely from Win11, I run in admin mode: get-appxpackage xbox | remove-appxpackage But. It gives an error: This application is part of Windows and cannot be uninstalled individually by each user. An administrator…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,221 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,550 questions
asked 2024-10-29T21:27:58.6166667+00:00
Mario 260 Reputation points
commented 2024-11-07T16:47:34.8933333+00:00
Mario 260 Reputation points
4 answers

Warning PowerShell ID 300

Hi, More than a year after reporting the problem, I continue to receive the same PowerShell warning despite everything working normally and all versions being up to date. Maybe with this new information we can better understand the problem. I know it…

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,885 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,550 questions
asked 2024-09-14T17:41:59.9366667+00:00
Piero 75 Reputation points
commented 2024-11-07T15:33:15.6733333+00:00
Piero 75 Reputation points
6 answers

How to get admin local from all computers in domain

How can I do to get all admin local in domain? I tried command below but error $computers = Get-ADComputer -Filter * | Select-Object -ExpandProperty Name foreach ($computer in $computers) { Write-Host "Getting local administrators for computer…

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,550 questions
asked 2023-02-21T03:08:09.2633333+00:00
Trần Ngọc Nam 20 Reputation points
answered 2024-11-07T11:16:37.11+00:00
Shiv Kumar Sharma 0 Reputation points
1 answer One of the answers was accepted by the question author.

Get-WMIObject Win32_ComputerSystem UserName returns null for RDP user

So I am writing a PowerShell script to pick up some info from domain machines and one of the things that I want to correlate with is logged on user. In theory that is (Get-WmiObject -ComputerName $CompName -ClassName Win32_ComputerSystem).username …

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,712 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,550 questions
asked 2021-04-08T14:43:54.437+00:00
Russell Ramey 26 Reputation points
commented 2024-11-07T09:38:01.01+00:00
LEVY Antoine 0 Reputation points
2 answers

Is there a way to use Powershell to query a computer to retrieve a list of all Intune policies without needing to install a module?

Is there a way to use Powershell to query a computer to retrieve a list of all Intune policies without needing to install a module? Also, is there a way to use Tychon to query intune policy/policy settings from an endpoint?

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,550 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,196 questions
asked 2024-11-05T19:36:53.2933333+00:00
Richard R 0 Reputation points
commented 2024-11-07T07:19:16.71+00:00
Crystal-MSFT 49,346 Reputation points Microsoft Vendor
2 answers

Changes made to the mail flow in EAC do not take effect immediately

Recently, I have made changes of mail flow in EAC but the rules did not take effect immediately. Sometime, I have to wait 2-3 hours or longer How to speed up to propagate the changes and apply them across the system? Could you provide the solutions on…

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,668 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,550 questions
asked 2024-11-01T01:46:24.89+00:00
CC 0 Reputation points
commented 2024-11-06T01:14:03.6933333+00:00
Alex Zhang-MSFT 1,675 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Powershell refresh desktop screen

Hello. How can I refresh desktop screen with powerhsell? Thanks for help.

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,550 questions
asked 2021-04-15T14:01:04.17+00:00
Filip 831 Reputation points
commented 2024-11-04T08:03:14.41+00:00
Pranavi Yandapalli 0 Reputation points
0 answers

Service Fabric - Azure REST API

Hi everyone, I have an Automation Account Runbook and need to remove an application from the Service Fabric Cluster. Since I don’t have a Hybrid Runbook Worker and can’t use the Service Fabric SDK, I decided to try using the Azure REST API and…

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,550 questions
asked 2024-10-09T11:11:23.9133333+00:00
Buchczyk, Kornelia 0 Reputation points
edited the question 2024-11-04T05:19:27.77+00:00
Mounika Reddy Anumandla 745 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Powersehell command invoke-sqlcmd command is looking for an additional parameter TrustServerCertificate=True on Windows 2022 server

Hi there, We heavily use PowerShell scripts to query Microsoft SQL Server databases on Windows 2016 machines using a command invoke-sqlcmd -ServerInstance <servername> -Database <databasename> -Query <Query statement>; While testing…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,980 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,221 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,550 questions
asked 2024-10-07T16:10:36.2666667+00:00
Suresh 20 Reputation points
commented 2024-11-02T04:40:25.45+00:00
Erland Sommarskog 112.7K Reputation points MVP
2 answers One of the answers was accepted by the question author.

powershell to get all users and their managers recursively

I am looking to pull all Active Directory users and their managers all the way up to the chain. I get how to do get-aduser -filter * -properties * | select name, manager export-csv -path "csv path" I also get: $Users = Get-ADUser -filter *…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,635 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,550 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,590 questions
asked 2024-04-30T13:24:36.5566667+00:00
Michael-5966 20 Reputation points
commented 2024-11-02T04:10:34.9833333+00:00
Abhishek Rawat 0 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Key Vault - Cannot get the access policies information by Azure PowerShell

Hi All, I’m working on enabling Azure Key Vault backup. I need to gather secrets, keys, certificates, and access policies, then save them to a storage account. However, I’ve encountered an issue where the Azure Key Vault cannot retrieve the access…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,313 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,550 questions
asked 2024-11-01T06:50:21.72+00:00
cchrischeung 20 Reputation points
accepted 2024-11-01T07:54:10.5333333+00:00
cchrischeung 20 Reputation points
2 answers

IOException error in opening a virtual serial port with Powershell

Hello, I have installed a plug-and-play measurement instrument, with a USB terminal, and it appears as a serial COM port. In windows device manager, COM3 is the only port. with properties / main tab, the status says that the device works properly. I want…

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,550 questions
asked 2021-04-01T14:55:57.457+00:00
Francois Bondu 1 Reputation point
commented 2024-11-01T04:56:43.9+00:00
Graham Dombkins 0 Reputation points
2 answers

How to simply enable the default version of bitlocker through gpo that doesnt require a password at startup

Hi Folks, I am trying to enable Bitlocker through GPO but want the default version of it without a password required at startup or securing the bitlocker keys. Literally like doing manually. If someone can walk me through which exact GPO policy to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,712 questions
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,495 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,550 questions
asked 2023-10-16T18:52:52.9933333+00:00
Sid-0195 0 Reputation points
commented 2024-10-30T17:11:24.8333333+00:00
Papp Károly 106 Reputation points
2 answers

Powershell script to get the runtime stack version for all my web apps and functions in a subscription

exist a Powershell script to get the runtime stack version for all my web apps and functions in a subscription?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,093 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,550 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,905 questions
asked 2022-02-18T23:31:59.777+00:00
HectorMH Jimenez 41 Reputation points
commented 2024-10-30T03:35:14.1733333+00:00
Navid Ulla (External) 0 Reputation points
1 answer

How to Resolve Volume Shadow Copy Service Error - Code 12289 (Event ID: 12289)

Hello everyone, Could anyone help me resolve this issue? I've tried everything, including installing a new Windows Server 2019, but the issue persists. I'm unable to create a shadow copy on drive D, and an error event occurs whenever I try to enable…

Service Manager
Service Manager
A family of System Center products for managing incidents and problems.
237 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,221 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,550 questions
asked 2024-10-28T14:04:40.4466667+00:00
Ramy Lasheen 0 Reputation points
answered 2024-10-30T03:17:56.16+00:00
Karlie Weng 18,521 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to find version of PowerShell?

How can I found out if there is a more up to date version of Window PowerShell available?

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,550 questions
asked 2024-10-28T22:38:21.9033333+00:00
Robert Holt 20 Reputation points
commented 2024-10-29T19:50:59.5966667+00:00
Rich Matheisen 46,811 Reputation points
3 answers

Change PowerShell Font when "run as administrator"

Hey,I tried to change the font of the powershell and it was easy. However, every time I let it "run as administrator", it will use the system default font and will be reset even I change it (doesn't affect normal run- not admin). I looked…

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,550 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,590 questions
asked 2024-02-15T23:39:51.4333333+00:00
Brian C 0 Reputation points
answered 2024-10-29T18:56:47.8466667+00:00
Rich Matheisen 46,811 Reputation points
1 answer

How to Fix when i Open Sounds with taskbar it not open but when i open with control panel it works

How to Fix when i Open Sounds with taskbar it not open but when i open with control panel it works and when i open computer properties dont work but whe i open with control panel it works how to fix this i switch only "%1" %* this everything in…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,712 questions
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,495 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,221 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,851 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,550 questions
asked 2024-10-29T10:04:58.3733333+00:00
Jeka Jekadze 0 Reputation points
answered 2024-10-29T16:06:51.9+00:00
Jacen Wang 960 Reputation points Microsoft Vendor