functions/Start-MynewTool.ps1
Function Start-MynewTool { <# .SYNOPSIS This is a start-mynewTool function .DESCRIPTION This is a start-mynewTool function for a demo class .PARAMETER Confirm If this switch is enabled, you will be prompted for confirmation before executing any operations that change state. .PARAMETER WhatIf If this switch is enabled, no actions are performed but informational messages will be displayed that explain what would happen if the command were to run. .EXAMPLE PS C:\> Start-MynewTool Running this command will execute the new tool #> [CmdletBinding(SupportsShouldProcess = $True, ConfirmImpact = 'Low')] Param( # Parameters is empty ) Write-PSFHostColor -String "Running the new tool!" -DefaultColor Blue } |