AdhocAdam / smletsexchangeconnector

SMLets PowerShell based Exchange Connector for controlling Microsoft System Center Service Manager 2016+
https://adhocadam.github.io/smletsexchangeconnector/
GNU General Public License v3.0
29 stars 19 forks source link

function best practices #431

Closed AdhocAdam closed 1 year ago

AdhocAdam commented 1 year ago

Standardizing functions used through the connector for consistency and to follow best practice as defined by PSScriptAnalzyer.

github-actions[bot] commented 1 year ago

PSScriptAnalyzer results:

:stop_sign: [0] Errors, :warning: [3] Warnings, :information_source: [0] Information

``` RuleName : PSReviewUnusedParameter Severity : Warning ScriptName : smletsExchangeConnector.ps1 Line : 2619 Message : The parameter 'UserSamAccountName' has been declared but not used. RuleName : PSReviewUnusedParameter Severity : Warning ScriptName : smletsExchangeConnector.ps1 Line : 2622 Message : The parameter 'TierId' has been declared but not used. RuleName : PSReviewUnusedParameter Severity : Warning ScriptName : smletsExchangeConnector.ps1 Line : 3441 Message : The parameter 'MessageClass' has been declared but not used. ```

github-actions[bot] commented 1 year ago

PSScriptAnalyzer results:

:stop_sign: [0] Errors, :warning: [0] Warnings, :information_source: [0] Information

``` ```