-
Notifications
You must be signed in to change notification settings - Fork 10
Set GShellDomain
Update a saved domain's default user or mark it as the default domain.
Set-GShellDomain [-Domain] <String> [-SetAsDefault] [[-DefaultUser] <String>] [[-ParentDomain] <String>]
[-RemoveParentDomain] [[-ChildDomainsToAdd] <String[]>] [[-ChildDomainsToRemove] <String[]>] [-WhatIf]
[-Confirm]
Update a saved domain's default user or mark it as the default domain.
PS C:\> Set-GShellDomain -Domain "example.com" -SetAsDefault
Set this domain as the default domain.
Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.
The target domain.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseIndicate that this should be the default domain.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThe user in the domain that should be used as the default user.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseThis domain's parent domain, if this domain is not a primary domain. Use an empty string to remove the parent domain.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseRemove this domain's parent domain, if one exists.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseChild domains of this domain to add, if not already present.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseChild domains of this domain to remove, if present.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value:
Accept pipeline input: False
Accept wildcard characters: FalsePart of the gShell Project, relating to the Google Drive API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads