• Introduction
    • Overview
    • System Requirements
    • Install
    • Update
    • Uninstall
  • Getting Started
    • Connecting to the DAM
    • Importing Asset Keywords from CSV into the DAM
    • Disconnect-MvDamAccount
  • How To Guides
    • Exporting asset info to a CSV file
    • Importing asset keywords from CSV file to the DAM
    • Importing asset attributes from CSV file to the DAM
    • Importing asset categories from a CSV file to the DAM
    • Deduping assets prior to upload
  • Command Reference
    • Overview
      • Connect-MvDamAccount
      • Disconnect-MvDamAccount
      • Get-MvDamContext
    • Asset Commands
      • Copy-MvDamAssetFile
      • Find-MvDamAssetInfo
      • Get-MvDamAssetInfo
      • Get-MvDamAssetHistory
      • Remove-MvDamAsset
      • Test-MvDamAssetAttribute
      • Update-MvDamAssetAttribute
      • Update-MvDamAssetKeyword
      • Update-MvDamAssetCategory
      • Update-MvDamAssetStatus
    • Attribute Definitions
      • Get-MvDamAttributeDef
    • Category Commands
      • Get-MvDamCategory
    • User Group Commands
      • Get-MvDamUserGroup
    • 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
      • Connect-MvSpaces
      • Sync-MvSpacesCategory
    • SkyHOOK Commands
      • Get-MvSkyEventType
      • Get-MvSkySubscription
      • New-MvSkySubscription
      • Remove-MvSkySubscription
  • Solution Recipes
    • Hotfolder Uploader
      • Overview
      • System Requirements
        • Prerequisites
        • Storage account
        • Azcopy command setup
      • Hotfolder Config and Upload Tasks
        • Hotfolder Setup
        • Importing Assets from Hotfolder
        • Scheduling Import Tasks
        • Implementing Notifications

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"

Connect PowerShell to MediaValet DAM using Password


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.