add: Output type to functions

This commit is contained in:
DrIOS
2024-06-09 10:36:37 -05:00
parent 5a0475c253
commit b9de0638bb
17 changed files with 101 additions and 42 deletions

View File

@@ -44,6 +44,7 @@ If the SkipUpdate switch is used, the function returns an array of custom object
https://criticalsolutionsnetwork.github.io/M365FoundationsCISReport/#Sync-CISExcelAndCsvData
#>
function Sync-CISExcelAndCsvData {
[OutputType([void], [PSCustomObject[]])]
[CmdletBinding(DefaultParameterSetName = 'CsvInput')]
param (
[Parameter(Mandatory = $true)]