Skip to content

Commit

Permalink
updating visuals script #62
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveWinward committed Apr 16, 2024
1 parent 20b03a9 commit 473c285
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
# are created by Microsoft
param (
[switch]$CertifiedOnly = $false,
[switch]$MicrosoftOnly = $false
[switch]$MicrosoftOnly = $false,
[int] $RetryCount = 3,
[int] $TimeoutInSecs = 30
)

# Reusing Retry-Command from Ridicurious's blog
Expand All @@ -21,8 +23,6 @@ function Invoke-RetryCommand {
[parameter(Mandatory, ValueFromPipeline)]
[ValidateNotNullOrEmpty()]
[scriptblock] $ScriptBlock,
[int] $RetryCount = 3,
[int] $TimeoutInSecs = 30,
[string] $SuccessMessage = "Command executed successfuly!",
[string] $FailureMessage = "Failed to execute the command"
)
Expand Down

0 comments on commit 473c285

Please sign in to comment.