< Back
Invoke-FreeIPAAPIhostgroup_mod
Post
NAME Invoke-FreeIPAAPIhostgroup_mod
SYNOPSIS
SYNTAX
Invoke-FreeIPAAPIhostgroup_mod [[-desc] <String>] [[-setattr] <String[]>] [[-addattr] <String[]>] [[-delattr]
<String[]>] [-rights] [-all] [-raw] [[-version] <String>] [-no_members] [-hostgroup_name] <String>
[-FullResultsOutput] [<CommonParameters>]
DESCRIPTION
Modify a hostgroup.
PARAMETERS
-desc <String>
A description of this host-group
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-setattr <String[]>
Set an attribute to a name/value pair. Format is attr=value.
For multi-valued attributes, the command replaces the values already present.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-addattr <String[]>
Add an attribute/value pair. Format is attr=value. The attribute
must be part of the schema.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-delattr <String[]>
Delete an attribute/value pair. The option will be evaluated
last, after all sets and adds.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-rights [<SwitchParameter>]
Display the access rights of this entry (requires -all). See ipa man page for details.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-all [<SwitchParameter>]
Retrieve and print all attributes from the server. Affects command output.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-raw [<SwitchParameter>]
Print entries as stored on the server. Only affects output format.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-version <String>
Client version. Used to determine if server will accept request.
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-no_members [<SwitchParameter>]
Suppress processing of membership attributes.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-hostgroup_name <String>
Name of host-group
Required? true
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FullResultsOutput [<SwitchParameter>]
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
RELATED LINKS
SYNOPSIS
SYNTAX
Invoke-FreeIPAAPIhostgroup_mod [[-desc] <String>] [[-setattr] <String[]>] [[-addattr] <String[]>] [[-delattr]
<String[]>] [-rights] [-all] [-raw] [[-version] <String>] [-no_members] [-hostgroup_name] <String>
[-FullResultsOutput] [<CommonParameters>]
DESCRIPTION
Modify a hostgroup.
PARAMETERS
-desc <String>
A description of this host-group
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-setattr <String[]>
Set an attribute to a name/value pair. Format is attr=value.
For multi-valued attributes, the command replaces the values already present.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-addattr <String[]>
Add an attribute/value pair. Format is attr=value. The attribute
must be part of the schema.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-delattr <String[]>
Delete an attribute/value pair. The option will be evaluated
last, after all sets and adds.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-rights [<SwitchParameter>]
Display the access rights of this entry (requires -all). See ipa man page for details.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-all [<SwitchParameter>]
Retrieve and print all attributes from the server. Affects command output.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-raw [<SwitchParameter>]
Print entries as stored on the server. Only affects output format.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-version <String>
Client version. Used to determine if server will accept request.
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-no_members [<SwitchParameter>]
Suppress processing of membership attributes.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-hostgroup_name <String>
Name of host-group
Required? true
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FullResultsOutput [<SwitchParameter>]
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
RELATED LINKS