Top "Cmdlets" questions

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

MSOnline can't be imported on PowerShell (Connect-MsolService error)

I had this issue and couldn´t find any answer. The issue was that I was trying to use Azure …

windows powershell azure 64-bit cmdlets
How to properly use the -verbose and -debug parameters in a custom cmdlet

By default, any named function that has the [CmdletBinding()] attribute accepts the -debug and -verbose (and a few others) parameters …

powershell parameters cmdlets cmdlet
Get a list of all Resources in my Azure Subscription (Powershell Preferably)

I have an azure subscription and I'm trying to write a powershell script to automatically get a list of all …

powershell azure azure-sql-database cmdlets
Reading event log remotely with Get-EventLog in Powershell

I've a powershell script which runs on server(test-server) and reads the log file of his client(DC1). Both sides …

powershell powershell-remoting cmdlets
How do I find the Azure PowerShell version?

I need to find the installed Azure PowerShell version through cmdlets code. How do I find the Azure PowerShell version? …

powershell azure version cmdlets azure-powershell
Using Powershell's Invoke-Command to call a batch file with arguments

I want to use Powershell in order to call a batch file on remote machines. This batch file has arguments. …

windows powershell batch-file cmdlets invoke-command
How to extract specific tables from html file using native powershell commands?

I make use of the PAL tool (https://pal.codeplex.com/) to generate HTML reports from perfmon logs within Windows. …

html powershell csv cmdlets
How do I add a PowerShell cmdlet or function to my machine so that it is always available?

If I find (or create) a new PowerShell cmdlet (or function), how do I add it to my machine? Do …

powershell profile cmdlets
Use PowerShell to stop-process, can i bypass confirm?

I'm a powershell newbie, but I often find myself starting and stopping a small group of services when I'm debugging …

powershell windows-services cmdlets
Powershell 3.0: COPY-ITEM Filter or Include options not working

Does the -Filter or -Include parameter work for anyone when using Powershell 3.0? I've tried both of the following commands: Copy-Item …

powershell powershell-3.0 cmdlets copy-item