Set-RubrikModuleDefaultParameter
SYNOPSIS
Creates or modifies a default value for a given parameter
SYNTAX
NameValue (Default)
Sync
DESCRIPTION
The Set-RubrikModuleDefaultParameter will allow users to create default values for common parameters within the Rubrik SDK for PowerShell These values are stored within the users options file located in $home.
EXAMPLES
EXAMPLE 1
Sets the PrimaryClusterId value to always equate to local when not specified. If PrimaryClusterId is already defined to have a default value it will be updated, if not, it will be created.
EXAMPLE 2
Syncs changes to the user options file to the current PowerShell session
PARAMETERS
-ParameterName
Parameter Name
-ParameterValue
Parameter Value
-Sync
Sync any manual changes within user option file to current PowerShell session
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
Written by Mike Preston for community usage Twitter: @mwpreston GitHub: mwpreston
RELATED LINKS
Last updated