<# .SYNOPSIS Executes a PowerShell cmdlet.
.EXAMPLE Execute-Cmdlet -cmdlet "Get-ChildItem"
# Get all services Execute-Cmdlet -cmdlet "Get-Service"
.DESCRIPTION This function executes a PowerShell cmdlet based on the provided parameters.
<# .SYNOPSIS Executes a PowerShell cmdlet.
.EXAMPLE Execute-Cmdlet -cmdlet "Get-ChildItem" powershell 3 cmdlets hackerrank solution
# Get all services Execute-Cmdlet -cmdlet "Get-Service" powershell 3 cmdlets hackerrank solution
.DESCRIPTION This function executes a PowerShell cmdlet based on the provided parameters. powershell 3 cmdlets hackerrank solution
<# .SYNOPSIS Executes a PowerShell cmdlet.
.EXAMPLE Execute-Cmdlet -cmdlet "Get-ChildItem"
# Get all services Execute-Cmdlet -cmdlet "Get-Service"
.DESCRIPTION This function executes a PowerShell cmdlet based on the provided parameters.