changed name of output functions with prefix 'CIS'

This commit is contained in:
DrIOS
2024-06-23 14:44:25 -05:00
parent a90df5bef4
commit e9bac2fe1c
34 changed files with 95 additions and 36 deletions

View File

@@ -4,11 +4,11 @@
.DESCRIPTION
This sample function is not exported to the module and only return the data passed as parameter.
.EXAMPLE
$null = Get-ExoOutput -PrivateData 'NOTHING TO SEE HERE'
$null = Get-CISExoOutput -PrivateData 'NOTHING TO SEE HERE'
.PARAMETER PrivateData
The PrivateData parameter is what will be returned without transformation.
#>
function Get-ExoOutput {
function Get-CISExoOutput {
[cmdletBinding()]
[OutputType([string])]
param(
@@ -293,5 +293,5 @@ function Get-ExoOutput {
end {
Write-Verbose "Retuning data for Rec: $Rec"
}
} # end function Get-MgOutput
} # end function Get-CISExoOutput

View File

@@ -0,0 +1,32 @@
function Get-CISMSTeamsOutput
{
<#
.SYNOPSIS
This is a sample Private function only visible within the module.
.DESCRIPTION
This sample function is not exported to the module and only return the data passed as parameter.
.EXAMPLE
$null = Get-MSTeamsOutput -PrivateData 'NOTHING TO SEE HERE'
.PARAMETER PrivateData
The PrivateData parameter is what will be returned without transformation.
#>
[cmdletBinding()]
[OutputType([string])]
param
(
[Parameter()]
[String]
$PrivateData
)
process
{
Write-Output $PrivateData
}
}

View File

@@ -1,4 +1,4 @@
function Get-MgOutput {
function Get-CISMgOutput {
<#
.SYNOPSIS
This is a sample Private function only visible within the module.
@@ -7,7 +7,7 @@ function Get-MgOutput {
This sample function is not exported to the module and only return the data passed as parameter.
.EXAMPLE
$null = Get-MgOutput -PrivateData 'NOTHING TO SEE HERE'
$null = Get-CISMgOutput -PrivateData 'NOTHING TO SEE HERE'
.PARAMETER PrivateData
The PrivateData parameter is what will be returned without transformation.
@@ -81,5 +81,5 @@ function Get-MgOutput {
end {
Write-Verbose "Retuning data for Rec: $Rec"
}
} # end function Get-MgOutput
} # end function Get-CISMgOutput