< Back

Set-NShttpProfile

Sat Jan 11, 2020 1:32 am

NAME Set-NShttpProfile



SYNOPSIS

The set-nshttprofile command updates an existing http profile





SYNTAX

Set-NShttpProfile [[-profile] <nshttpprofile>] [[-session] <nitro_service>] [-returnobject <SwitchParameter>]

[<CommonParameters>]





DESCRIPTION

Update an existing http profile. Fetch the profile with get-nshttpprofile, make changes to the object and

re-sumbit using set-nshttpprofile





PARAMETERS

-session <nitro_service>

This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and

pipelined into this command.



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-profile <nshttpprofile>

Specify the profile name



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-returnobject <SwitchParameter>

If set to true, the object that is created is returned. This is useful to testing purposes.



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

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

com.citrix.netscaler.nitro.service.nitro_service

This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and

pipelined into this command.



com.citrix.netscaler.nitro.resource.config.ns.nshttpprofile

Specify the profile name



System.Management.Automation.SwitchParameter

If set to true, the object that is created is returned. This is useful to testing purposes.





OUTPUTS



---------- EXAMPLE 1 ----------



set-nshttprofile -profile $httpprofile



update an http profile stored in the $httpprofile variable



RELATED LINKS