changed name of output functions with prefix 'CIS'
This commit is contained in:
@@ -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
|
||||
|
||||
32
source/Private/Get-CISMSTeamsOutput.ps1
Normal file
32
source/Private/Get-CISMSTeamsOutput.ps1
Normal 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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user