-
Notifications
You must be signed in to change notification settings - Fork 8
Set ePOConfig
Required command. Sets the necessary parameters to successfully communicate with an ePO server
Set-ePOConfig [-AllowSelfSignedCerts] [-ePOwerShellSettings <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-ePOConfig -Server <String> -Credentials <PSCredential> [-Port <Int32>] [-AllowSelfSignedCerts] [-WhatIf]
[-Confirm] [<CommonParameters>]
This function sets up all information necessary to communicate with your ePO server.
There are three ways to utilize this command: By manually specifying the variables each time you load the module, saving a json file on your computer with the necessary information, or saving the json as an environment variable, $env:ePOwerShell.
Set-ePOConfig -Server 'My-ePO-Server.domain.com' -Port 1234 -Credentials (Get-Credential) -AllowSelfSignedCerts
Set ePO config
URL to the ePO server
Type: String
Parameter Sets: ManualEntry
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Credentials with access to the ePO server
Type: PSCredential
Parameter Sets: ManualEntry
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the port necessary to communicate with the ePO server
Type: Int32
Parameter Sets: ManualEntry
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Specifies if you'd like to allow ePOwerShell to allow self signed certificates on the ePO server
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: ($Script:ePOwerShell.AllowSelfSignedCerts)
Accept pipeline input: False
Accept wildcard characters: False
Specifies a path to a json containing all information necessary to connect to an ePO server
Type: String
Parameter Sets: Env
Aliases:
Required: False
Position: Named
Default value: (${env:ePOwerShell})
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.