Import-SentinelOneModuleSettings

SYNOPSIS

Imports the SentinelOne BaseURI, API, & JSON configuration information to the current session.

SYNTAX

Import-SentinelOneModuleSettings [-SentinelOneConfPath <String>] [-SentinelOneConfFile <String>] [<CommonParameters>]

DESCRIPTION

The Import-SentinelOneModuleSettings cmdlet imports the SentinelOne BaseURI, API, & JSON configuration information stored in the SentinelOne configuration file to the users current session.

By default the configuration file is stored in the following location: $env:USERPROFILE\S1API

EXAMPLES

EXAMPLE 1

Import-SentinelOneModuleSettings

Validates that the configuration file created with the Export-SentinelOneModuleSettings cmdlet exists then imports the stored data into the current users session.

The default location of the SentinelOne configuration file is: $env:USERPROFILE\S1API\config.psd1

EXAMPLE 2

Import-SentinelOneModuleSettings -SentinelOneConfPath C:\S1API -SentinelOneConfFile MyConfig.psd1

Validates that the configuration file created with the Export-SentinelOneModuleSettings cmdlet exists then imports the stored data into the current users session.

The location of the SentinelOne configuration file in this example is: C:\S1API\MyConfig.psd1

PARAMETERS

-SentinelOneConfPath

Define the location to store the SentinelOne configuration file.

By default the configuration file is stored in the following location: $env:USERPROFILE\S1API

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: "$($env:USERPROFILE)\S1API"
Accept pipeline input: False
Accept wildcard characters: False

-SentinelOneConfFile

Define the name of the SentinelOne configuration file.

By default the configuration file is named: config.psd1

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Config.psd1
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

N\A

https://celerium.github.io/SentinelOne-PowerShellWrapper/site/internal/Import-SentinelOneModuleSettings.html