< Back
Get-Stig
Post
NAME Get-Stig
SYNOPSIS
Returns an array of available STIGs with the associated Technology,
TechnologyVersion, TechnologyRole, and StigVersion. This function is a
wrapper for the STIG class. The return of this function call will
provide you with the values needed to generate the STIG ruleset.
SYNTAX
Get-Stig [-ListAvailable] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ListAvailable [<SwitchParameter>]
A switch that returns all of the STIG's in the module.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Management.Automation.PSObject[]
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-Stig -ListAvailable
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-Stig -Technology WindowsServer
RELATED LINKS
SYNOPSIS
Returns an array of available STIGs with the associated Technology,
TechnologyVersion, TechnologyRole, and StigVersion. This function is a
wrapper for the STIG class. The return of this function call will
provide you with the values needed to generate the STIG ruleset.
SYNTAX
Get-Stig [-ListAvailable] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ListAvailable [<SwitchParameter>]
A switch that returns all of the STIG's in the module.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Management.Automation.PSObject[]
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-Stig -ListAvailable
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-Stig -Technology WindowsServer
RELATED LINKS