external help file | Module Name | online version | schema |
---|---|---|---|
PSTypeExtensionTools-help.xml |
PSTypeExtensionTools |
2.0.0 |
Import type extension definitions.
Import-PSTypeExtension [-Path] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Use this command to import extended type definitions from a JSON or XML file that was created with Export-PSTypeExtension.
PS C:\> Import-PSTypeExtension -Path C:\work\stringtypes.json
Import definitions from a JSON file.
PS C:\> dir c:\scripts\mytypes | Import-PSTypeExtension
Import definitions from files in C:\Scripts\MyTypes. Presumably, these are XML or JSON files created with Export-PSTypeExtension.
The name of the imported file. The extension must be .xml or .json.
Type: String
Parameter Sets: (All)
Aliases: FullName
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
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.
Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/