external help file | Module Name | online version | schema |
---|---|---|---|
PSKoans-help.xml |
PSKoans |
2.0.0 |
Causes powershell to write a random piece of advice on each start.
Register-Advice [[-TargetProfile] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Causes powershell to write a random piece of advice on each start.
This is done by creating / modifying the powershell profile to call Show-Advice
on each session start.
Register-Advice
Causes powershell to write a random piece of advice on each start.
Prompts you for confirmation before modifying your profile.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specify a named profile to modify.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: AllUsersAllHosts, AllUsersCurrentHost, CurrentUserAllHosts, CurrentUserCurrentHost
Required: False
Position: 0
Default value: CurrentUserCurrentHost
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Friedrich Weinmann (@FriedrichWeinmann)