Formats contacts exported from Yahoo in CSV format into a format suitable for import into other platforms.
Format-YahooContactsCsv [-Csv] <String> [-Target] <String> [[-Delimiter] <String>] [[-Format] <String>]
[<CommonParameters>]
Use the Format-YahooContactsCsv
to format a CSV export of Yahoo contacts into a format that can be used to import into other platforms.
Get-Content 'yahoo_contacts.csv'
"Address 1","Address 1 type","Address 2","Address 2 type","Address 3","Address 3 type","Birthday","Email 1","Email 1 type","Email 2","Email 2 type","Employer","First Name","Job title","Last Name","Middle Name","Notes","Phone 1","Phone 1 type","Phone 2","Phone 2 type","Phone 3","Phone 3 type","Website"
"1 Maple St., Austin, TX, 78753",Work,"1 Pine St., Austin, TX, 78753",Work,"1 Elm St., Austin, TX, 78753",Home,1/1/1980,tuser@example.org,Work,tuser@example.com,Work,Acme Corporation,Test,Software Engineer,User,,Sample notes,555-111-1111,Work,555-222-2222,Work,555-333-3333,Home,www.acme.com
Format-YahooContactsCsv -Csv 'yahoo_contacts.csv' -Target Google
Formats the Yahoo-exported contacts in yahoo_contacts.csv
into a format that can be imported into Google. Note that the CSV fields can be in any arbitrary order, but only the fields shown will be formatted.
The path to a CSV file containing Yahoo contacts to format. See the examples for the required CSV format.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the CSV record delimiter. The default is a comma.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: ","
Accept pipeline input: False
Accept wildcard characters: False
Specifies the output format for contacts.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Csv, Json, Objects
Required: False
Position: 3
Default value: Objects
Accept pipeline input: False
Accept wildcard characters: False
Specifies the target platform for which contacts should be formatted. The only currently supported value is Google
.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Google
Required: True
Position: 1
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.