5,455 questions with Windows Server PowerShell tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

UWP re-Add-ProvisionedAppxPackage error 183

hello everyone I developed UWP packages and get 2 version appxupload_Windows10_PreinstallKit package from store like test_UWP_1.0.0.1 and test_UWP_1.0.0.2 and here's dism Provision cmds: test_UWP_1.0.0.1_pre_install.bat dism /online…

Universal Windows Platform (UWP)
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,455 questions
asked 2021-08-03T23:47:06.463+00:00
Divyns Lin 41 Reputation points
commented 2024-07-19T13:24:50.88+00:00
Rich M 0 Reputation points
0 answers

PowerShell Filter

Hello, I have powershell script like below output. The result is fine but when i want to filter only showing Type="Vmware Backup" and only to show "Job Name" and "Last Result" columns why i not get the result? Something…

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,455 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,308 questions
asked 2024-07-19T06:39:27.7333333+00:00
Handian Sudianto 4,471 Reputation points
commented 2024-07-19T10:43:57.26+00:00
Andreas Baumgarten 103.6K Reputation points MVP
1 answer One of the answers was accepted by the question author.

Problème réinstallation et fonctionnement Microsoft Print to PDF on WS2019

Bonjour, Je rencontre un problème lors de la réinstallation de L'imprimante Microsoft Print to PDF sur mes Windows serveurs 2019. J'aimerais refaire l'installe de l'imprimante de 0 mais j'ai plusieurs messages d'erreurs, par exemple, lorsque j'essaye de…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,600 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,595 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,455 questions
asked 2024-07-17T21:13:02.3166667+00:00
Alexis Glatre 20 Reputation points
commented 2024-07-19T07:18:29.5166667+00:00
Karlie Weng 16,251 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Check Internet Connectivity using Powershell

Hello, I want to make a powershell script to test is the server have internet connectivity or not by doing ICMP to 8.8.8.8 for example and the script will return 1 if get reply and 0 if not get the reply. Anyone know here how to make that script?

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,455 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,308 questions
asked 2024-07-19T00:53:03.6533333+00:00
Handian Sudianto 4,471 Reputation points
accepted 2024-07-19T03:03:09.7233333+00:00
Handian Sudianto 4,471 Reputation points
2 answers

Logging the parameters of WMI Methods using WMI-Activity Trace logs

When logging WMI calls and queries via WMI-Activity Trace logs, I can see all the method invocations being logged, but not the method's parameters. As I'm looking to work around certain hardware/driver issues with my laptop, I absolutely must know what…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,595 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,512 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,312 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,928 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,455 questions
asked 2024-07-10T16:38:56.85+00:00
kassie 0 Reputation points
commented 2024-07-19T01:16:49.7833333+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer

ports remote request powershell

Hello. I have executed the get-service -computername PC01 command Wireshark showed me that port 135 is used in the first…

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,455 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,308 questions
asked 2024-07-18T13:43:04.61+00:00
Андрей Михалевский 2,846 Reputation points
commented 2024-07-18T15:37:52.6366667+00:00
Rich Matheisen 45,831 Reputation points
2 answers

Unable to install PS module getting some issue

PS C:\Windows\system32> install-module azuread NuGet provider is required to continue PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet provider must be available in 'C:\Program…

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,455 questions
asked 2024-07-18T07:43:00.18+00:00
Sakura434 1 Reputation point
answered 2024-07-18T08:01:02.63+00:00
Manu Philip 17,351 Reputation points MVP
1 answer

Invoke-PnPTenantTemplate is not performing any action.. "Access token acquired"

I have 2 SharePoint Online tenants which both have a modern communication sites. now i used this command to get the source site template:- PS C:\Users\mohan> Connect-PnPOnline -Url "https://ssms.sharepoint.com/sites/PPM-test/"…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,249 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,455 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,308 questions
asked 2024-07-17T18:01:50.68+00:00
john john Pter 115 Reputation points
answered 2024-07-18T01:33:55.7166667+00:00
RaytheonXie_MSFT 33,641 Reputation points Microsoft Vendor
2 answers

Get Last Update Installed

Hello, It's possible to get last update install date using powershell?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,595 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,455 questions
asked 2024-07-16T06:16:01.5766667+00:00
Handian Sudianto 4,471 Reputation points
edited a comment 2024-07-16T15:32:01.2666667+00:00
MotoX80 32,736 Reputation points
3 answers

Windows update agent api - Access denied on AddScanPackageService

Hi Together Could someone help me in this matter... I am trying to run following script block on remote system to get updates needed and getting access denied on following line: " $UpdateServiceManager.AddScanPackageService("Offline Sync…

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,455 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,308 questions
asked 2023-03-14T12:14:37.4066667+00:00
Zeljko Zaric 1 Reputation point
answered 2024-07-16T13:44:16.7066667+00:00
Jesper Arnecke 0 Reputation points
1 answer

Assistance Needed: GPO for DNS Suffix Registration Not Applying

Hello, We are working on creating a Group Policy to automatically enable the option "Use this connection's DNS suffix in DNS registration" when users log in to their domain accounts. We have created the GPO for this setting and tested it on one…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,595 questions
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
426 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,455 questions
asked 2024-07-11T12:55:01.8166667+00:00
Firoz Khan 0 Reputation points
commented 2024-07-16T11:24:38.76+00:00
Firoz Khan 0 Reputation points
2 answers

Powershell to reset AAD user password

Dear Experts, Recently, I’m trying to use PowerShell to reset new users' password online. The expected scenario is that the user will be given a one-time password, then login to office.com set up his MFA, and then he’s asked to change a new password. …

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,211 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,455 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,540 questions
asked 2023-05-10T06:00:53.75+00:00
Eaven HUANG 2,156 Reputation points
answered 2024-07-16T07:06:05.8466667+00:00
Eaven HUANG 2,156 Reputation points
2 answers

Unicode in Console App - C#

Hello, I wrote a program to show UTF-16 emojis in Console App. When I ran the console app in PS from windows terminal, I can see emojis. But If I ran the program in PS without a windows terminal, I can't see it. Please see: …

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,625 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,455 questions
asked 2022-11-20T23:34:03.033+00:00
Shervan360 1,481 Reputation points
commented 2024-07-14T20:05:14.4666667+00:00
LUCAS BENTO DOS SANTOS FERNANDES 0 Reputation points
3 answers

How do I extract the last part of a url using PowerShell?

I want get the last part of a URL, how do I get this done? How do I extract just 002-122 from this url https://mycompany.sharepoint.com/sites/Asite/002-122 with PowerShell?

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,455 questions
asked 2020-12-31T14:21:10.727+00:00
Mohammed 81 Reputation points
commented 2024-07-13T05:52:58.2033333+00:00
Nula Mipa 15 Reputation points
2 answers

Enabling Managed Folder Assistant Error

When trying to start managed folder assistant on a shared mailbox with online archiving enabled, I am getting an error in powershell: The call to Mailbox Assistants Service on server: 'DM6PR07MB4555.namprd07.prod.outlook.com' failed. Error from RPC…

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,455 questions
asked 2022-08-15T16:44:17.76+00:00
Steven Ingram 16 Reputation points
commented 2024-07-11T11:45:01.4666667+00:00
xtruss 0 Reputation points
3 answers

Connect-ExchangeOnline: Write-ErrorMessage : Expired or Invalid pagination request. Default Expiry time is 00:30:00

I wrote a script a while back that gets the the UserPrincipalName, DisplayName, LastLogonTime, CreationTime, Inactive Days, MailboxType, AssignedLicenses, ItemCount, MB Size, and Roles from MSOnline and Exchange Online. It works fine on one server and my…

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,373 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.
1,996 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,455 questions
asked 2022-09-26T17:20:13.937+00:00
Dane Briggs 211 Reputation points
commented 2024-07-11T07:08:24.0066667+00:00
Agnieszka Stojanik 0 Reputation points
0 answers

.exe files are not running in windows docker images

Hey There, I am trying to run the following Dockerfile to containerize the Netduino.exe file and would like to use it as a Gitlab runner. However, the .exe files are running in the following Docker Images. Not only Netduino.exe, other .exe files like…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,600 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,156 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,595 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,928 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,455 questions
asked 2024-07-09T01:00:22.78+00:00
Sunil Bhimanapalli 0 Reputation points
edited the question 2024-07-09T01:08:25.08+00:00
Sunil Bhimanapalli 0 Reputation points
1 answer

How can I connect tables on Power BI online

Hello, Is there a way to connect tables in a model I created on power BI online? The tables are on an excel workbook on sharepoint, and the model has been done on on power bi online. Any idea how to make the connection between tables? Thank you!

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,455 questions
asked 2023-12-01T10:42:04.2033333+00:00
Abdulla Moustafa 0 Reputation points
edited an answer 2024-07-07T08:24:22.3633333+00:00
Khaled Elsayed Mohamed 1,260 Reputation points
1 answer

How can I send Outlook (Microsoft 365) meeting invitations from one email account to multiple email accounts using PowerShell?

I need your help to create a PowerShell script to send invitations to an Outlook (Microsoft 365) meeting from an email account user@domino to multiple email accounts (user1@domino, user2@domino...) through from PowerShell I hope you can help me.

Outlook
Outlook
A family of Microsoft email and calendar products.
3,404 questions
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,064 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,455 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,308 questions
asked 2024-01-18T21:19:08.5933333+00:00
Jairo Javier Baleta Cali 131 Reputation points
answered 2024-07-07T06:44:40.2266667+00:00
Khaled Elsayed Mohamed 1,260 Reputation points
1 answer One of the answers was accepted by the question author.

Disable WinRM PowerShell Remoting

Hi All I have a requirement to Disable or Harden PowerShell Remoting and WinRM Services. The impact what i see is one server cannot connect to another server using remote powershell scripts. Please also let me know what possible issues we can come across…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,600 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,429 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,778 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,455 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,308 questions
asked 2023-12-30T11:24:40.5166667+00:00
Roger Roger 5,446 Reputation points
accepted 2024-07-06T09:29:44.6566667+00:00
Roger Roger 5,446 Reputation points