- Introduction
- Getting Started
- How To Guides
-
Command Reference
- Overview
- Asset Commands
- Attribute Definitions
- Category Commands
- User Group Commands
-
PowerDAM Operations
- Export-MvDamAssetAttribute
- Export-MvDamAssetInfo
- Import-MvDamAssetAttributeFromCsv
- Import-MvDamAssetCategoryFromCsv
- Import-MvDamAssetKeywordFromCsv
- Import-MvDamAssetStatusFromCsv
- Import-MvDamFilenameListFromCsv
- Test-MvDamAssetAttributeCsv
- Import-MvDamAssetsFromContainer
- Export-MvDamContainerManifest
- Import-MvDamCategoryTreeFromManifest
- Initialize-MvDamUploadJob
- Start-MvDamUploadJob
- Import-MvDamAssetsFromHotFolder
- Creative Spaces Operations
- SkyHOOK Commands
- Solution Recipes
Connect-MvDamAccount
PowerShell Module: MediaValet.DAM.Standard
Description: Connects to your MediaValet DAM platform and sets up the session for DAM operations. All DAM commands require that the connection has been established.
Connect-MvDamAccount
[-Username] <String>
[-Password] <String>
[-Region] <String>
[<CommonParameters>]
Parameters
-Username
(Required) This is your username in email format (e.g. john@mediavaletcustomer.com) that you use to login to your cloud DAM library.
-Password
(Required) This is your password passed as a SecureString. You will be prompted to enter your password if you omit this. Otherwise, convert your password into a SecureString before passing this as a parameter.
-Region
(Required) The region code that you are logging into:
Region Code | Location | Azure Region |
---|---|---|
mv-cato | Toronto | Canada Central |
mv-usca | California | West US |
mv-usil | Illinois | North Central US |
mv-usva | Virginia | East US |
mv-eunl | Netherlands | West Europe |
mv-aunsw | New South Wales | Australia |
Examples
Create a SecureString password and use it in connecting:
$pass = ConvertTo-SecureString -String Password0246! -AsPlainText -Force
Connect-MvDamAccount -Username "john@companyname.com" -Region "mv-cato" -Password $pass
Or you can omit -Password and just enter it when prompted:
Connect-MvDamAccount -Username "john@companyname.com" -Region "mv-cato"
Importing Asset Keywords from CSV
Before you can import asset keywords from CSV, you need to have an asset info export file available and populated with the keywords. For the import, the required columns are Id and Keywords. The rest of the columns for generated by the asset info export are not needed although they are useful for providing the user with a filename reference when the CSV is being updated with the keywords.
Before you proceed with an import, please check the following:
- The System.Id columm does not contain any
<<NOT FOUND>>
or<<MULTIPLE>>
values. If the export file was generated from a filename list and it does not find a matching filename, the System.Id will show up as<<NOT FOUND>>
. If multiple matches were found, then the System.Id will show<<MULTIPLE>>
on the System.Id column and the System.Description will provide a list of asset Ids that match the filename.
Once you have verified that the CSV with keywords is ready for import, you can execute the following command:
Import-MvDamAssetKeywordFromCsv -Path C:\Temp\export-assetinfo-keywords-edited.csv
This will update the corresponding assets in the DAM with the Keywords
in the CSV specified in the -Path
parameter.
Disconnect-MvDamAccount
PowerShell Module: MediaValet.DAM.Standard
Description: Disconnect session from the MediaValet DAM and clear the current DAM context.
Disconnect-MvDamAccount
Parameters
No parameters are required. Executing the command will disconnect the session from the currently active DAM in context.