Top "Cmdlets" questions

Cmdlets are lightweight, task-oriented commands in the Windows PowerShell environment.

How to get all details from Installed Updates Window

I want to get all of this information (including non-windows updates) in any text format... Please share if you have …

powershell wmi-query wmic cmdlets
How do you support PowerShell's -WhatIf & -Confirm parameters in a Cmdlet that calls other Cmdlets?

I have a PowerShell script cmdlet that supports the -WhatIf & -Confirm parameters. It does this by calling the $PSCmdlet.…

powershell powershell-2.0 cmdlets
Are there Powershell cmdlets that install and remove Windows drivers?

Note: For this question, when I refer to "Windows drivers" I mean .inf and associated files which can otherwise be …

windows powershell driver cmdlets
Get-MailboxPermissions cmdlet not working/recognised

Hi Stackoverflow people, I have been trying to use the Get-MailboxPermission cmdlet to run a report on all my mailboxes. …

powershell exchange-server cmdlets cmdlet
Send multiple outputs to the same HTML file in Powershell

Trying to figure out how to convert to HTML multiple service checks: I have this script: Get-service -Computername SERVER1 -Name *…

html powershell cmdlets
Calling Powershell functions from C#

I have a PS1 file with multiple Powershell functions in it. I need to create a static DLL that reads …

c# powershell cmdlets
Determining internet connection using Powershell

Is there a simple cmdlet I can run in PowerShell to determine if my Windows machine is connected to the …

powershell cmdlets
Return only files with Get-childitem in powershell 2

I know that we can use the parameter -File in Powershell V3.0 but how can we get only files with …

windows powershell powershell-2.0 cmdlets cmdlet
Could not find default endpoint element that references contract :connect to WCF endpoint through Powershell cmdlet

I have created a class library that should connect to a WCF endpoint project I am hosting. The client project …

c# .net wcf powershell cmdlets
Powershell String Length Validation

I created a really simple HelloWorld.ps1 Power-shell script which accepts a Name parameter, validates its length and then prints …

powershell cmdlets cmdlet