< Back

New-BTAppId

Sun Jan 12, 2020 7:27 pm

NAME New-BTAppId



SYNOPSIS

Creates a new AppId Registry Key.





SYNTAX

New-BTAppId [[-AppId] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

The New-BTAppId function create a new AppId registry key in the Current User's Registery Hive. If the desired

AppId is already present in the Registry then no changes are made.



If no AppId is specified then the AppId specified in the config.json file in the BurntToast module's root

directory is used.





PARAMETERS

-AppId <String>

Specifies the new AppId. You can use any alphanumeric characters.



Defaults to the AppId specified in the config.json file in the BurntToast module's root directoy if not

provided.



Required? false

Position? 1

Default value $Script:Config.AppId

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

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

System.String



You cannot pipe input to this cmdlet.





OUTPUTS

None





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



PS C:\\>New-BTAppId



This command creates an AppId registry key using the value specified in the BurntToast module's config.json file,

which is 'BurntToast' by default.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>New-BTAppId -AppId 'Script Checker'



This command create an AppId registry key called 'Script Checker.'











RELATED LINKS

https://github.com/Windos/BurntToast/bl ... BTAppId.md