-
Notifications
You must be signed in to change notification settings - Fork 8
Update ePOConfig
Updates ePOwerShell config options individually, rather than setting everything at once.
Update-ePOConfig [[-Server] <String>] [[-Port] <Int32>] [[-Credentials] <PSCredential>] [-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.
Update-ePOwerShellServer -Server 'My-ePO-Server.domain.com'
Update ePOwerShell to target a new server
URL to the ePO server
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: ($Script:ePOwerShell.Server)
Accept pipeline input: False
Accept wildcard characters: False
Specifies the port necessary to communicate with the ePO server
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: ($Script:ePOwerShell.Port)
Accept pipeline input: False
Accept wildcard characters: False
Credentials with access to the ePO server
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: ($Script:ePOwerShell.Credentials)
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
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.