Top Banner
Welcome to vRanger Pro Console All cmd-lets: Get-Command vRanger cmd-lets: Get-Command -PsSnapin vRanger.API.PowerShell General help: help Cmd-let Specific help: help <cmdlet-name> Copyright <c> 2009 Vizioncore, Inc. All rights reserved. CommandType Name Definition ----------- ---- ---------- Cmdlet Add-BackupJobTemplate Add-BackupJobTemplate [-JobN... Cmdlet Add-CifsRepository Add-CifsRepository [-Server]... Cmdlet Add-RestoreJobTemplate Add-RestoreJobTemplate [-Job... Cmdlet Add-SftpRepository Add-SftpRepository [-Server]... Cmdlet Get-Connection Get-Connection [[-Name] <Str... Cmdlet Get-Datastore Get-Datastore [-Host] <HostE... Cmdlet Get-InventoryEntity Get-InventoryEntity [[-Type]... Cmdlet Get-Job Get-Job [[-StartTime] <DateT... Cmdlet Get-JobTemplate Get-JobTemplate [[-Type] <St... Cmdlet Get-Network Get-Network [-Host] <HostEnt... Cmdlet Get-Repository Get-Repository [[-Type] <Str... Cmdlet Get-RepositoryBackUpJobTask Get-RepositoryBackUpJobTask ... Cmdlet Get-RepositoryJob Get-RepositoryJob [-Reposito... Cmdlet Get-RepositorySavePoint Get-RepositorySavePoint [-Id... Cmdlet Get-SavepointDisk Get-SavepointDisk [-Id] <Str... Cmdlet Get-SavePointFileSize Get-SavePointFileSize [-Repo... Cmdlet Get-SavepointManifest Get-SavepointManifest [-Id] ... Cmdlet Get-VmDisk Get-VmDisk [-VMList] <VMEnti... Cmdlet Get-VMDKVolume Get-VMDKVolume [-VmdkID] <St... Cmdlet New-BackupFlag New-BackupFlag [-BackupPower... Cmdlet New-DailySchedule New-DailySchedule -WeekdayOn... Cmdlet New-MonthlySchedule New-MonthlySchedule [-Execut... Cmdlet New-RestoreFlag New-RestoreFlag [-ForceOverw... Cmdlet New-SpaceSavingType New-SpaceSavingType [-Increm... Cmdlet New-WeeklySchedule New-WeeklySchedule [[-Execut... Cmdlet New-YearlySchedule New-YearlySchedule [-Executi... Cmdlet Remove-AllMount Remove-AllMount [-Verbose] [... Cmdlet Remove-JobTemplate Remove-JobTemplate [-ID] <Gu... Cmdlet Remove-Repository Remove-Repository [-Id] <Str... Cmdlet Remove-SavePoint Remove-SavePoint [-SavePoint... Cmdlet Run-JobsNow Run-JobsNow [-TemplateIds] <... Cmdlet Set-MountPath Set-MountPath [-Volume] <Vol...
84

Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Jan 21, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Welcome to vRanger Pro Console All cmd-lets: Get-Command vRanger cmd-lets: Get-Command -PsSnapin vRanger.API.PowerShell General help: help Cmd-let Specific help: help <cmdlet-name> Copyright <c> 2009 Vizioncore, Inc. All rights reserved. CommandType Name Definition ----------- ---- ---------- Cmdlet Add-BackupJobTemplate Add-BackupJobTemplate [-JobN... Cmdlet Add-CifsRepository Add-CifsRepository [-Server]... Cmdlet Add-RestoreJobTemplate Add-RestoreJobTemplate [-Job... Cmdlet Add-SftpRepository Add-SftpRepository [-Server]... Cmdlet Get-Connection Get-Connection [[-Name] <Str... Cmdlet Get-Datastore Get-Datastore [-Host] <HostE... Cmdlet Get-InventoryEntity Get-InventoryEntity [[-Type]... Cmdlet Get-Job Get-Job [[-StartTime] <DateT... Cmdlet Get-JobTemplate Get-JobTemplate [[-Type] <St... Cmdlet Get-Network Get-Network [-Host] <HostEnt... Cmdlet Get-Repository Get-Repository [[-Type] <Str... Cmdlet Get-RepositoryBackUpJobTask Get-RepositoryBackUpJobTask ... Cmdlet Get-RepositoryJob Get-RepositoryJob [-Reposito... Cmdlet Get-RepositorySavePoint Get-RepositorySavePoint [-Id... Cmdlet Get-SavepointDisk Get-SavepointDisk [-Id] <Str... Cmdlet Get-SavePointFileSize Get-SavePointFileSize [-Repo... Cmdlet Get-SavepointManifest Get-SavepointManifest [-Id] ... Cmdlet Get-VmDisk Get-VmDisk [-VMList] <VMEnti... Cmdlet Get-VMDKVolume Get-VMDKVolume [-VmdkID] <St... Cmdlet New-BackupFlag New-BackupFlag [-BackupPower... Cmdlet New-DailySchedule New-DailySchedule -WeekdayOn... Cmdlet New-MonthlySchedule New-MonthlySchedule [-Execut... Cmdlet New-RestoreFlag New-RestoreFlag [-ForceOverw... Cmdlet New-SpaceSavingType New-SpaceSavingType [-Increm... Cmdlet New-WeeklySchedule New-WeeklySchedule [[-Execut... Cmdlet New-YearlySchedule New-YearlySchedule [-Executi... Cmdlet Remove-AllMount Remove-AllMount [-Verbose] [... Cmdlet Remove-JobTemplate Remove-JobTemplate [-ID] <Gu... Cmdlet Remove-Repository Remove-Repository [-Id] <Str... Cmdlet Remove-SavePoint Remove-SavePoint [-SavePoint... Cmdlet Run-JobsNow Run-JobsNow [-TemplateIds] <... Cmdlet Set-MountPath Set-MountPath [-Volume] <Vol...

Page 2: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Add-BackupJobTemplate SYNOPSIS Adds a backup job template. The user also have the option of running the job immediately after the template is created. SYNTAX Add-BackupJobTemplate [-JobName] <string> [[-JobDescription] [<string>]] [- JobEntity] <Entity> [[-ExcludedVMList] [<string[]>]] [[-IncludedDiskList] [ <int[]>]] [-TargetRepository] <Repository> [-JobSchedule] <Schedule> [-Flag s] <BackupFlags> [-NumberOfSavePoints] <int> [-SpaceSavingTechnologyTypeFla g] <SpaceSavingTechnologyType> [[-SpaceSavingCountThreshold] [<int>]] [[-sp aceSavingPercentSizeThreshold] [<int>]] [[-NotificationList] [<string>]] [[ -RunJobNow] [<bool>]] [<CommonParameters>] DETAILED DESCRIPTION Adds a backup job. The user also have the option of running the job immediately after the template is created. PARAMETERS -JobName <string> Job name. Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false -JobDescription [<string>] Job description. Required? false Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false -JobEntity <Entity> Inventory entity on which the job will be run on, ESX host, VirtualCenter etc.

Page 3: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Required? true Position? 2 Default value variable Accept pipeline input? false Accept wildcard characters? false -ExcludedVMList [<string[]>] List of VMs to exclude from this job. All VMs in the inventory entity will be backed up if none is specified. Required? false Position? 3 Default value variable Accept pipeline input? false Accept wildcard characters? false -IncludedDiskList [<int[]>] List of disks to include in this job. All VM disks will be backed up if none is specified. Required? false Position? 4 Default value 0,1...63 Accept pipeline input? false Accept wildcard characters? false -TargetRepository <Repository> Repository where the backups will be saved. Required? true Position? 5 Default value variable Accept pipeline input? false Accept wildcard characters? false -JobSchedule <Schedule> The recurrence schedule the job will be run on. Required? true Position? 6 Default value variable Accept pipeline input? false Accept wildcard characters? false

Page 4: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

-Flags <BackupFlags> Backup flags: NoFlags, BackupPoweredOnOnly, CheckDestinationFreeSpace, UseCompression, UpdateNotes, EnableGuestQuiescing, AllFlags. Multiple flags can be seperated by '|' Required? true Position? 7 Default value variable Accept pipeline input? false Accept wildcard characters? false -NumberOfSavePoints <int> max number of savepoints to keep before old ones are removed Required? true Position? 8 Default value variable Accept pipeline input? false Accept wildcard characters? false -SpaceSavingTechnologyTypeFlag <SpaceSavingTechnologyType> Spacesaving technology to use: differential, incremental or none. Required? true Position? 9 Default value variable Accept pipeline input? false Accept wildcard characters? false -SpaceSavingCountThreshold [<int>] The number to save before performing a full backup Required? false Position? 10 Default value variable Accept pipeline input? false Accept wildcard characters? false -SpaceSavingPercentSizeThreshold [<int>] The size to allow as a percentage of the virtual machine hard disk file before performaning a differential backup Required? false

Page 5: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Position? 11 Default value variable Accept pipeline input? false Accept wildcard characters? false -NotificationList [<string>] Email notification list for the job. Seperate multiple emails by ','. Required? false Position? 12 Default value variable Accept pipeline input? false Accept wildcard characters? false -RunJobNow [<bool>] Whether to run the job immediately after the job template is created. Required? false Position? 13 Default value 0 Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Add-BackupJob -detailed". For technical information, type "Get-Help Add-BackupJob -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Page 6: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

-------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-BackupJobTemplate -Jo bName myjob -JobEntity $inv -TargetRepository $repo -JobSchedule $s -Flags NoFlags -NumberOfSavePoints 3 -SpaceSavingTechnologyTypeFlag None This command adds a backup job template. Since the RunJobNow flag is not specified the job will not be run immediately. RELATED LINKS Add-RestoreJobTemplate Get-Jobs Get-JobTemplates

Page 7: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Add-CifsRepository SYNOPSIS Adds a CIFS repository to vRanger SYNTAX Add-CifsRepository [-Server] <string> [-ShareName] <string> [[-TargetDirectory] [<string>]] [[-DomainName] [<string>]] [-User] <string> [-Password] <string> [-Name] <string> [[-Description] [<string>]] [[-Overwrite] [<bool>]] [<CommonParameters>] DETAILED DESCRIPTION The Add-CifsRepository cmdlet adds a CIFS repository to vRanger. The repos itory can be later used to store backup files from backup jobs. PARAMETERS -Server <string> The CIFS Server FQDN or IP. Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false -ShareName <string> Name of the file system share the repository is on. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false -TargetDirectory [<string>] The CIFS Target Directory. Required? false Position? 2 Default value variable Accept pipeline input? false

Page 8: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Accept wildcard characters? false -DomainName [<string>] Name of the domain. Required? false Position? 3 Default value variable Accept pipeline input? false Accept wildcard characters? false -User <string> The CIFS user name. Required? true Position? 4 Default value variable Accept pipeline input? false Accept wildcard characters? false -Password <string> The CIFS Password. Required? true Position? 5 Default value variable Accept pipeline input? false Accept wildcard characters? false -Name <string> A friendly name describing this CIFS server. Required? true Position? 6 Default value variable Accept pipeline input? false Accept wildcard characters? false -Description [<string>] The Description describing the CIFS server. Required? false Position? 7 Default value variable

Page 9: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Accept pipeline input? false Accept wildcard characters? false -Overwrite [<bool>] Whether to overwrite the existing repository if one exists. Required? false Position? 8 Default value 0 Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Add-CifsRepository -detailed". For technical information, type "Get-Help Add-CifsRepository -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". To get a list of existing repositories, use the Get-Repositories cmdlet . -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-CifsRepository -Serve r myserver.dev.corp -ShareName myshare -User myname -Password mypassword -N ame -Overwrite 1

Page 10: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

This command adds a repository on server myserver.dev.corp pointing to shar e named myshare using the credentials provided. Existing repositories at t he location specified will be overwritten. RELATED LINKS Get-Repositories Add-SftpRepository

Page 11: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Add-RestoreJobTemplate SYNOPSIS Adds a restore job template. The user also have the option of running the job immediately after the template is created. SYNTAX Add-RestoreJobTemplate [-JobName] <string> [[-JobDescription] [<string>]] [ -JobEntity] <Entity> [-RestoreSavepointList] <RestoreSavePoint[]> [-JobSche dule] <Schedule> [-Flags] <RestoreFlags> [[-NotificationList] [<string>]] [ [-RunJobNow] [<bool>]] [<CommonParameters>] DETAILED DESCRIPTION Adds a restore job template. The user also have the option of running the job immediately after the template is created. PARAMETERS -JobName <string> Job name. Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false -JobDescription [<string>] Job description. Required? false Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false -JobEntity <Entity> Inventory entity on which the job will be run on, ESX host, VirtualCen ter etc. Required? true Position? 2

Page 12: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Default value variable Accept pipeline input? false Accept wildcard characters? false -RestoreSavepointList <RestoreSavePoint[]> List of savepoints to be restored. Required? true Position? 3 Default value variable Accept pipeline input? false Accept wildcard characters? false -JobSchedule <Schedule> The recurrence schedule the job will be run on. Required? true Position? 4 Default value variable Accept pipeline input? false Accept wildcard characters? false -Flags <RestoreFlags> Restore flags: NoFlags, AllFlags, ForceOverwrite, ForcePowerOn. Multip le flags can be seperated by '|' Required? true Position? 5 Default value variable Accept pipeline input? false Accept wildcard characters? false -NotificationList [<string>] Email notification list for the job. Seperate multiple emails by ','. Required? false Position? 6 Default value variable Accept pipeline input? false Accept wildcard characters? false -RunJobNow [<bool>] Whether to run the job immediately after the job template is created.

Page 13: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Required? false Position? 7 Default value 0 Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Add-RestoreJob -detailed". For tec hnical information, type "Get-Help Add-RestoreJob -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-RestoreJobTemplate -J obName myjob -JobEntity $inv -RestoreSavePoints $sp -JobSchedule $s -Flags NoFlags -RunJobNow 1 This command adds a restore job template. The job will be run immediately after the template is created.

Page 14: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RELATED LINKS Add-BackupJobTemplate Get-Jobs Get-JobTemplates

Page 15: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Add-SftpRepository SYNOPSIS Adds a SFTP repository to vRanger SYNTAX Add-SftpRepository [-Server] <string> [[-Port] [<int>]] [[-TargetDirectory] [<string>]] [-User] <string> [-Password] <string> [[-TimeOut] [<short>]] [ -Name] <string> [[-Description] [<string>]] [[-Overwrite] [<bool>]] [<Commo nParameters>] DETAILED DESCRIPTION The Add-SftpRepository cmdlet adds a SFTP repository to vRanger. The repos itory can be later used to store backup files from backup jobs. PARAMETERS -Server <string> The Sftp Server FQDN or IP. Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false -Port [<int>] The SFTP Server Port. Required? false Position? 1 Default value 22 Accept pipeline input? true Accept wildcard characters? false -TargetDirectory [<string>] The Sftp Target Directory. Required? false Position? 2 Default value variable Accept pipeline input? false

Page 16: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Accept wildcard characters? false -User <string> The Sftp user name. Required? true Position? 3 Default value variable Accept pipeline input? false Accept wildcard characters? false -Password <string> The Sftp Password. Required? true Position? 4 Default value variable Accept pipeline input? false Accept wildcard characters? false -TimeOut [<string>] Timeout value. Required? false Position? 5 Default value variable Accept pipeline input? false Accept wildcard characters? false -Name <string> A friendly name describing this Sftp server. Required? true Position? 6 Default value variable Accept pipeline input? false Accept wildcard characters? false -Description [<string>] The Description describing the Sftp server. Required? false Position? 7 Default value variable

Page 17: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Accept pipeline input? false Accept wildcard characters? false -Overwrite [<bool>] Whether to overwrite the existing repository if one exists. Required? false Position? 8 Default value 0 Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Add-SftpRepository -detailed". For technical information, type "Get-Help Add-SftpRepository -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". To get a list of existing repositories, use the Get-Repositories cmdlet . -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User myname -Password mypasswor d -Name myrepo

Page 18: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

This command adds a repository on server myserver.dev.corp pointing to shar e named myshare using the credentials provided. Existing repositories at t he location specified will be overwritten. RELATED LINKS Get-Repositories Add-CifsRepository

Page 19: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-Connection SYNOPSIS Gets configured connections to hosts or vCenters in vRanger SYNTAX Get-Connection [[-Name] [<string>]] [[-Type] [<string>]] [<CommonParameters >] DETAILED DESCRIPTION The Get-Connection cmdlet returns connection objects. Without parameters, "Get-Connection" returns all configured connections in vRanger. You can al so get connections by name or type. Using the two parameters in the same c ommand will return an error. PARAMETERS -Name [<string>] Host name of the connection. Required? false Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false -Type [<string>] Specifies the type of connection to retrieve: VirtualCenter, EsxHost or ALL. Required? false Position? 1 Default value All Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE

Page 20: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RETURN TYPE NOTES For more information, type "Get-Help Get-Connection -detailed". For tec hnical information, type "Get-Help Get-Connection -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Connection This command gets a list of all vRanger loaded connections -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Connection -type EsxH ost This command gets a list of all ESX host connections -------------------------- EXAMPLE 3 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Connection -Name myho st.dev.corp

Page 21: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

This command returns a connection to the specified host RELATED LINKS

Page 22: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-Datastore SYNOPSIS Returns all datastores associated with the host SYNTAX Get-Datastore [-Host] <HostEntity> [<CommonParameters>] DETAILED DESCRIPTION The Get-Datastore cmdlet returns all datastores associated with the host sp ecified. PARAMETERS -Host <HostEntity> The host object. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Get-DatastoresForHost -detailed". For technical information, type "Get-Help Get-DatastoresForHost -full".

Page 23: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Datastore -Host $host This command returns a list of datastores associated with the host RELATED LINKS Get-Host Get-Network

Page 24: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-InventoryEntity SYNOPSIS Returns inventory entities. SYNTAX Get-InventoryEntity [[-Type] [<string>]] [<CommonParameters>] DETAILED DESCRIPTION The Get-InventoryEntities cmdlet returns a list of inventory entities based on the input repository type. The command will return all inventory entit ies if no type is provided. You can also get inventory entities by type. N ote that there's a performance delay if all types are requested or no type is specified. PARAMETERS -Type [<string>] Specifies the type of inventory entities: EsxHost, VirtualCenter, Virtu alMachine, ClusterComputeResource, ComputeResource, DataCenter, Folder, ResourcePool, VirtualApp or All. Required? false Position? 1 Default value All Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES

Page 25: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

For more information, type "Get-Help InventoryEntities -detailed". For technical information, type "Get-Help InventoryEntities -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-InventoryEntity This command gets a list of all inventory entities -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-InventoryEntities -Ty pe EsxHost This command gets a list of all loaded host entities RELATED LINKS Get-vRangerInventory

Page 26: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-Job SYNOPSIS Returns jobs. SYNTAX Get-Job [[-EndTime] [<string>]] [[-StartTime] [<string>]] [[-JobState] [<st ring>]] [[-JobTemplateIDs] [<string>]] [<CommonParameters>] DETAILED DESCRIPTION The Get-Job cmdlet returns jobs. Without parameters, Get-Job returns all pa st and current jobs. You can also get jobs by JobState within a time span or JobTemplateIDs. If JobTemplateIDs are specified, no other parameters ca n be used. PARAMETERS -EndTime [<string>] End time of time period. Required? false Position? 0 Default value DateTime.Now Accept pipeline input? false Accept wildcard characters? false -StartTime [<string>] Start time of time period Required? false Position? 1 Default value 2009-01-01 Accept pipeline input? false Accept wildcard characters? false -JobState [<string>] Job state: Queued, Running, Completed or All. Required? false Position? 2 Default value All Accept pipeline input? false

Page 27: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Accept wildcard characters? false -JobTemplateIDs [<string>] Job template IDs for which to retrieve jobs. Seperate multiple IDs by ' ,'. Required? false Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Get-Job -detailed". For technical information, type "Get-Help Get-Job -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Job This command returns jobs in all states

Page 28: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

-------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Job -JobState Running This command returns all running jobs -------------------------- EXAMPLE 3 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Job -starttime 2009-0 3-30 -endtime 2009-03-31 -JobState Completed This command returns completed jobs that started during the specifed time s pan -------------------------- EXAMPLE 4 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Job d7ebc5c4-7916-44c 4-a0c2-2412999735f3,d7ebc5c4-7916-44c4-a0c2-2412990005f3 This command returns jobs based on specified templates RELATED LINKS Run-JobNow Get-JobTemplate

Page 29: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-JobTemplate SYNOPSIS Returns scheduled jobs (job templates). SYNTAX Get-JobTemplate [[-Type] [<string>]] [[-InventoryIds] [<string>]] [<CommonP arameters>] DETAILED DESCRIPTION The Get-JobTemplate cmdlet returns a list scheduled jobs (job templates) ba sed on the input job type. Without parameters, the command will return all job templates. You can also get job templates by Type or Inventory IDs PARAMETERS -Type [<string>] Specifies the type of job template to retrieve: Backup, Restore or All. Required? false Position? 0 Default value All Accept pipeline input? false Accept wildcard characters? false -InventoryIds [<string>] The inventory nodes' virtualization object ref IDs. Seperate multiple I Ds by ','. Required? false Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE

Page 30: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RETURN TYPE NOTES For more information, type "Get-Help Get-JobTemplate -detailed". For te chnical information, type "Get-Help Get-JobTemplate -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-JobTemplate This command gets a list of all job templates -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-JobTemplate -type Bac kup This command gets a list of all backup jobs. -------------------------- EXAMPLE 3 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-JobTemplate -Inventor yIds d7ebc5c4-7916-44c4-a0c2-2412999735f3,d7ebc5c4-7916-44c4-a0c2-241299000

Page 31: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

5f3 -Type Backup This command returns backup job templates in the specified inventories RELATED LINKS Get-Job

Page 32: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-Network SYNOPSIS Returns all networks associated with the host SYNTAX Get-Network [-Host] <HostEntity> [<CommonParameters>] DETAILED DESCRIPTION The Get-Network cmdlet returns all networks associated with the host specif ied. PARAMETERS -Host <HostEntity> The host object. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Get-NetworksForHost -detailed". Fo r technical information, type "Get-Help Get-NetworksForHost -full".

Page 33: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Network -Host $host This command returns a list of networks associated with the host RELATED LINKS Get-Host Get-Datastore

Page 34: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-Repository SYNOPSIS Gets the repositories configured in vRanger SYNTAX Get-Repository [[-Id] [<string>]] [[-Type] <string>] [<CommonParameters>] DETAILED DESCRIPTION The Get-Repository cmdlet returns repositories configured in vRanger. With out parameters, "Get-Repository" gets all repositories configured in vRange r. You can also get repositories by Name or Type. Using the two paramete r in the same command will return an error. PARAMETERS -Id <string> Repository ID in GUID. Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false -Type <string> Specifies the type of repository to retrieve: CIFS, SFTP or ALL. Required? false Position? 1 Default value All Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE

Page 35: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RETURN TYPE NOTES For more information, type "Get-Help Get-Repository -detailed". For tec hnical information, type "Get-Help Get-Repository -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Repository This command gets a list of all vRanger repositories -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-Repository -id 034538 e5-58a7-4d28-89c9-3249b620064a This command a repository with the specified ID -------------------------- EXAMPLE 3 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>get-repositories -type CI FS

Page 36: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

This command gets a list of all CIFS repositories RELATED LINKS Add-CifsRepository Add-SftpRepository Remove-Repository

Page 37: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-RepositoryJob SYNOPSIS Returns jobs associated with the repository SYNTAX Get-RepositoryJob [-RepositoryId] <string> [<CommonParameters>] DETAILED DESCRIPTION The Get-RepositoryJob cmdlet returns a list of associated jobs based on the input repository ID. PARAMETERS -RepositoryId <string> Repository ID in GUID. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Get-RepositoryJobs -detailed". For technical information, type "Get-Help Get-RepositoryJobs -full".

Page 38: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-RepositoryJob -Reposi toryId 034538e5-58a7-4d28-89c9-3249b620064a This command returns a list of jobs associated with the repository with th e specified ID RELATED LINKS Get-Job Get-JobTemplate

Page 39: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-RepositorySavePoint SYNOPSIS Returns a list of savepoints in the repository created during the specified time period SYNTAX Get-RepositorySavePoint [-Id] <string> [[-StartTime] [<string>]] [[-EndTime ] [<string>]] [<CommonParameters>] DETAILED DESCRIPTION The Get-RepositorySavePoint cmdlet returns a list of savepoints in the repo sitory. All savepoints in the repository will be returned if no time param eter is specified PARAMETERS - Required? true Position? 1 Default value Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Get-RepositorySavePoints -detailed

Page 40: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

". For technical information, type "Get-Help Get-RepositorySavePoints - full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-RepositorySavePoint - RepositoryId 034538e5-58a7-4d28-89c9-3249b620064a This command returns a list of savepoints associated with the repository w ith the specified ID RELATED LINKS Get-Job Get-JobTemplate

Page 41: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-SavepointDisk SYNOPSIS Returns the VM disks that the savepoint contains SYNTAX Get-SavepointDisk [-Id] <String> [-WhatIf] [-Confirm] [<CommonParameters>] DETAILED DESCRIPTION Returns the VM disks that the savepoint contains PARAMETERS -Id <String> SavePoint ID in GUID format Required? true Position? 1 Default value Accept pipeline input? true (ByPropertyName) Accept wildcard characters? false -WhatIf Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false -Confirm Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug,

Page 42: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

-ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE SavePoint ID RETURN TYPE SavePointDisk NOTES -------------- Example 1 -------------- C:\PS>Get-SavePointDisk 91d27db5-4562-4456-918d-b0dc587e0e7f This command returns all disks that has been backed up into the savepoint s pecified FlatFileName : 'phys:/vmfs/volumes/DEV123:storage1/dev 2k8/dev 2k8-flat.vmd k' UUID : 05ce535a-13cc-4959-9da2-85cea751958a RELATED LINKS Get-VMDKVolume

Page 43: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-SavePointFileSize SYNOPSIS Returns the size of the savepoint in bytes SYNTAX Get-SavePointFileSize [-Repository] <Repository> [-SavePoint] <SavePoint> [ <CommonParameters>] DETAILED DESCRIPTION The Get-SavePointFileSize cmdlet returns the size of the savepoint in bytes PARAMETERS -Repository <Repository> The repository where the savepoint is located. Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false -SavePoint <SavePoint> The savepoint. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE

Page 44: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NOTES For more information, type "Get-Help Get-SavePointFileSize -detailed". For technical information, type "Get-Help Get-SavePointFileSize -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-SavePointFileSize -Re pository $myrepo -SavePoint $mysp This command returns the size of the savepoint RELATED LINKS Get-RepositorySavePoints

Page 45: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-SavePointManifest SYNOPSIS Returns the size of the savepoint in bytes SYNTAX Get-SavePointManifest [-ID] <ID> [<CommonParameters>] DETAILED DESCRIPTION The Get-SavePointManifest cmdlet returns manifest of the savepoint PARAMETERS -ID <ID> The SavePoint ID. Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Get-SavePointManifest -detailed". For technical information, type "Get-Help Get-SavePointManifest -full". When specifying multiple values for a parameter, use commas to separate

Page 46: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-SavePointManifest $id This command returns savepoint manifest object RELATED LINKS Get-RepositorySavePoints

Page 47: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-VmDisk SYNOPSIS Returns a list of VmDisks for the VM list in the same order of the input. SYNTAX Get-VmDisk [[-VMList] <VMEntity[]>] [<CommonParameters>] DETAILED DESCRIPTION The Get-VmDisk cmdlet returns a list of VmDisks for the VM list in the same order of the input. PARAMETERS -VMList <VMEntity[]> A list of VM entities to retrieve disk information for. Required? false Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Get-VmDisksForVmList -detailed". F or technical information, type "Get-Help Get-VmDisksForVmList -full".

Page 48: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Get-VmDisk -VMList $mylis t This command gets a list of VMDisks objects for the input VM list RELATED LINKS Get-InventoryEntity

Page 49: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Get-VMDKVolume SYNOPSIS Returns all volumes on a certain VM disk SYNTAX Get-VMDKVolume [-VmdkID] <String> [-Repository] <Repository> [-RepositoryPa ssword] <String> [-WhatIf] [-Confirm] [<CommonParameters>] DETAILED DESCRIPTION Returns all volumes on a certain VM disk PARAMETERS -VmdkID <String> UUID of the VMDK Required? true Position? 1 Default value Accept pipeline input? true (ByPropertyName) Accept wildcard characters? false -Repository <Repository> Repository in which the SavePoint resides in Required? true Position? 2 Default value Accept pipeline input? true (ByPropertyName) Accept wildcard characters? false -RepositoryPassword <String> Repository password Required? true Position? 3 Default value Accept pipeline input? true (ByPropertyName) Accept wildcard characters? false -WhatIf

Page 50: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false -Confirm 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, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE string RETURN TYPE Volume NOTES -------------- Example 1 -------------- C:\PS>Get-VMDKVolume 05ce535a-13cc-4959-9da2-85cea751958a This command returns all volumes of the specified VMDK MountPath :

Page 51: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

DriveLetter : Guid : e74cc3b4-2aa1-11de-98a4-0023ae095451 RELATED LINKS Get-SavePointDisk

Page 52: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME New-BackupFlag SYNOPSIS Creats a new BackupFlag object for later use SYNTAX New-BackupFlag [[-BackupPoweredOnOnly] [<bool>]] [[-CheckDestinationFreeSpa ce] [<bool>]] [[-UseCompression] [<bool>]] [[-UpdateNotes] [<bool>]] [[-Ena bleGuestQuiescing] [<bool>]] [[-AllFlags] [<bool>]] [<CommonParameters>] DETAILED DESCRIPTION The New-BackupFlag cmdlet helps the user create a BackupFlags Enum object. Without parameters, the command returns NoFlags. You can pass in boolean parameters to specify which flags you want on. PARAMETERS -BackupPoweredOnOnly [<bool>] Whether to backup only virtual machines that are powered on. Required? false Position? 0 Default value 0 Accept pipeline input? false Accept wildcard characters? false -CheckDestinationFreeSpace [<bool>] Whether to check repository free space before backup. Required? false Position? 1 Default value 0 Accept pipeline input? false Accept wildcard characters? false -UseCompression [<bool>] Whether to use compression for backup. Required? false Position? 2 Default value 0 Accept pipeline input? false

Page 53: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Accept wildcard characters? false -UpdateNotes [<bool>] Whether to update notes on VM after backup. Required? false Position? 3 Default value 0 Accept pipeline input? false Accept wildcard characters? false -EnableGuestQuiescing [<bool>] Whether guest quiescing is enabled. Required? false Position? 4 Default value 0 Accept pipeline input? false Accept wildcard characters? false -AllFlags [<bool>] Whether to use all available flags for the backup. Required? false Position? 5 Default value 0 Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES

Page 54: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

For more information, type "Get-Help New-BackupFlag -detailed". For tec hnical information, type "Get-Help New-BackupFlag -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-BackupFlag This command returns a new BackupFlags object with the value of NoFlags -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-BackupFlag -EnableGue stQuiescing 1 -UseCompression 1 This command returns a new BackupFlags object with the values of EnableGues tQuiescing and UseCompression -------------------------- EXAMPLE 3 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-BackupFlag -AllFlags 1 This command returns a new BackupFlags object with all flags set to on.

Page 55: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RELATED LINKS Add-BackupJob

Page 56: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME New-DailySchedule SYNOPSIS Returns a Schedule object. The schedule provides a template daily schedule that can be further customized before use. SYNTAX New-DailySchedule [-WeekdayOnly] <bool> [-StartTime] <string> [<CommonParam eters>] DETAILED DESCRIPTION The New-DailySchedule cmdlet returns a Schedule object. The schedule provid es a template daily schedule that can be further customized before use. PARAMETERS -WeekdayOnly <bool> Whether to run the job only on weekdays. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false -StartTime <string> Job start time. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE

Page 57: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RETURN TYPE NOTES For more information, type "Get-Help New-DailySchedule -detailed". For technical information, type "Get-Help New-DailySchedule -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-DailySchedule -Weekda yOnly 1 -StartTime "2009-03-31 12:00:00AM" This command returns a daily job schdule that runs weekdays at midnight RELATED LINKS New-WeeklySchedule New-MonthlySchedule New-YearlySchedule

Page 58: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME New-MonthlySchedule SYNOPSIS Returns a Schedule object. The schedule provides a template monthly schedul e that can be further customized before use. SYNTAX New-MonthlySchedule [-ExecutionDayOfMonth] <int> [-StartTime] <string> [<Co mmonParameters>] DETAILED DESCRIPTION The New-MonthlySchedule cmdlet returns a Schedule object. The schedule prov ides a template monthly schedule that can be further customized before use. PARAMETERS -ExecutionDayOfMonth <int> Day of month on which the job will be run (1-31). Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false -StartTime <string> Job start time. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE

Page 59: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RETURN TYPE NOTES For more information, type "Get-Help New-MonthlySchedule -detailed". Fo r technical information, type "Get-Help New-MonthlySchedule -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-MonthlySchedule -Exec utionDayOfMonth 1 -StartTime "2009-03-31 12:00:00AM" This command returns a monthly job schdule that runs on the first of every month at midnight RELATED LINKS New-DailySchedule New-WeeklySchedule New-YearlySchedule

Page 60: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME New-RestoreFlag SYNOPSIS Creats restore flags for later use SYNTAX New-RestoreFlag [[-ForceOverwrite] [<bool>]] [[-ForcePowerOn] [<bool>]] [[- AllFlags] [<bool>]] [<CommonParameters>] DETAILED DESCRIPTION The New-RestoreFlag cmdlet helps the user create a RestoreFlags Enum object . Without parameters, the command returns NoFlags. You can pass in boolea n parameters to specify which flags you want on. PARAMETERS -ForceOverwrite [<bool>] Whether to force overwrite of existing VM with same name. Required? false Position? 0 Default value 0 Accept pipeline input? false Accept wildcard characters? false -ForcePowerOn [<bool>] Whether to power on the VM for restore. Required? false Position? 1 Default value 0 Accept pipeline input? false Accept wildcard characters? false -AllFlags [<bool>] Whether to use all available flags for the restore. Required? false Position? 2 Default value 0 Accept pipeline input? false Accept wildcard characters? false

Page 61: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

<CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help New-RestoreFlag -detailed". For te chnical information, type "Get-Help New-RestoreFlag -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-RestoreFlag This command runs RestoreFlags with the value of NoFlags -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-RestoreFlag -ForcePow erOn 1 -UseCompression 0 This command runs RestoreFlags with the values of ForcePowerOn

Page 62: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

-------------------------- EXAMPLE 3 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-RestoreFlag -AllFlags 1 This command runs RestoreFlags with all flags set to on. RELATED LINKS Add-RestoreJob

Page 63: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME New-SpaceSavingType SYNOPSIS Creats SpaceSavingTechnologyType for later use SYNTAX New-SpaceSavingType [[-Incremental] [<bool>]] [[-Differential] [<bool>]] [< CommonParameters>] DETAILED DESCRIPTION The New-SpaceSavingType cmdlet helps the user create a SpaceSavingTechnolog yType Enum object. Without parameters, the command returns None. You can pass in boolean parameters to specify which mode you want on. PARAMETERS -Incremental [<bool>] Whether to use incremental backup. Required? false Position? 0 Default value 0 Accept pipeline input? false Accept wildcard characters? false -Differential [<bool>] Whether to using incremental backup. Required? false Position? 1 Default value 0 Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE

Page 64: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RETURN TYPE NOTES For more information, type "Get-Help New-SpaceSavingType -detailed". Fo r technical information, type "Get-Help New-SpaceSavingType -full". When specifying multiple values for a parameter, use commas t o separate the values. For example, "<parameter-name> <value1>, <value2 >". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-SpaceSavingType This command returns a new SpaceSavingTechnologyType object with the value of None -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-BackupFlag -Increment al 1 This command returns SpaceSavingTechnologyType with the values of Increment al RELATED LINKS Add-BackupJob

Page 65: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User
Page 66: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME New-WeeklySchedule SYNOPSIS Returns a Schedule object. The schedule provides a template weekly schedule that can be further customized before use. SYNTAX New-WeeklySchedule [-ExecutionDays] <string> [-StartTime] <string> [<Common Parameters>] DETAILED DESCRIPTION The New-WeeklySchedule cmdlet returns a Schedule object. The schedule provi des a template weekly schedule that can be further customized before use. PARAMETERS -ExecutionDays <string> Days of the week on which the job will be run: Monday, Tuesday etc. Sp erate multiple days by ','. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false -StartTime <string> Job start time. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE

Page 67: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RETURN TYPE NOTES For more information, type "Get-Help New-WeeklySchedule -detailed". For technical information, type "Get-Help New-WeeklySchedule -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-WeeklySchedule -Execu tionDays "Monday" -StartTime "2009-03-31 12:00:00AM" This command returns weekly job schdule that runs on Mondays at midnight -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-WeeklySchedule -Execu tionDays "Monday,Tuesday" -StartTime "2009-03-31 12:00:00AM" This command returns weekly job schdule that runs on Mondays and Tuesdays a t midnight RELATED LINKS New-DailySchedule

Page 68: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

New-MonthlySchedule New-YearlySchedule

Page 69: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME New-YearlySchedule SYNOPSIS Returns a Schedule object. The schedule provides a template yearly schedule that can be further customized before use. SYNTAX New-YearlySchedule [-ExecutionMonth] <int> [-ExecutionDayOfMonth] <int> [-S tartTime] <string> [<CommonParameters>] DETAILED DESCRIPTION The New-YearlySchedule cmdlet returns a Schedule object. The schedule provi des a template yearly schedule that can be further customized before use. PARAMETERS -ExecutionMonth <int> Month in which the job will be run (1-12). Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false -ExecutionDayOfMonth <int> Day of month on which the job will be run (1-31). Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false -StartTime <string> Job start time. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false

Page 70: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

<CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help New-YearlySchedule -detailed". For technical information, type "Get-Help New-YearlySchedule -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>New-YearlySchedule -Execu tionMonday 1 -ExecutionDayOfMonth 1 -StartTime "2009-03-31 12:00:00AM" This command returns a yearly job schdule that runs on the Jan 1 each year at midnight RELATED LINKS New-DailySchedule New-WeeklySchedule New-MonthlySchedule

Page 71: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Remove-AllMount SYNOPSIS Removes all previously mounted path. SYNTAX Set-MountPath [<CommonParameters>] DETAILED DESCRIPTION Removes all previously mounted path. This operation should be performed as a cleanup step after all needed content is retrieved from the mounted path . PARAMETERS <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES -------------- Example 1 -------------- C:\PS>Remove-AllMount This command removes all mounted paths

Page 72: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RELATED LINKS Get-Repository Get-RepositorySavePoint Get-SavePointDisk Get-VMDKVolume Set-MountPath

Page 73: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Remove-JobTemplate SYNOPSIS Removes a JobTemplate SYNTAX Remove-JobTemplate [-Id] <string> [<CommonParameters>] DETAILED DESCRIPTION The Remove-JobTemplate cmdlet removes a JobTemplate from vRanger. PARAMETERS -Id <string> The JobTemplate ID in GUID. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Remove-JobTemplate -detailed". For technical information, type "Get-Help Remove-JobTemplate -full". When specifying multiple values for a parameter, use commas to separate

Page 74: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Remove-JobTemplate -Id $g uid This command removes the JobTemplate with the specified ID from vRanger. RELATED LINKS Add-BackupJob Add-RestoreJob Get-JobTemplate

Page 75: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Remove-Repository SYNOPSIS Remove a repository along with all the savepoints in it SYNTAX Remove-Repository [-Id] <string> [[-RemoveSavePoints] [<bool>]] [<CommonPar ameters>] DETAILED DESCRIPTION The Remove-Repository cmdlet removes a repository from vRanger. Optionally, all savepoints in the repository can be deleted from the disk. PARAMETERS -Id <string> The repository ID in GUID. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false -RemoveSavePoints [<bool>] Whether to remove all savepoints in the repositories. 0 or 1. Required? false Position? 1 Default value 0 Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE

Page 76: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

RETURN TYPE NOTES For more information, type "Get-Help Remove-Repository -detailed". For technical information, type "Get-Help Remove-Repository -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Remove-Repository -Id $gu id This command removes the repository with the specified ID from vRanger. Al l savepoints associated with the repository will be un-touched. -------------------------- EXAMPLE 2 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Remove-Repository -Id $gu id -RemoveSavePoints 1 This command removes the repository withe the specified ID from vRanger. A ll savepoint files in the repository will be removed from disk as well. RELATED LINKS Add-CifsRepository Add-SftpRepository

Page 77: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Get-Repository

Page 78: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Remove-SavePoint SYNOPSIS Removes savepoints. SYNTAX Remove-SavePoint [-SavePointsToRemove] <list<SavePoint>> [<CommonParameters >] DETAILED DESCRIPTION The Remove-SavePoint cmdlet removes savepoints. If any of the specified sa vepoint has decendant savepoints, those savepoints will also be removed. PARAMETERS -SavePointsToRemove <list<SavePoint>> The list of savepoints to remove. Required? true Position? 1 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Remove-SavePoints -detailed". For

Page 79: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

technical information, type "Get-Help Remove-SavePoints -full". When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Remove-SavePoint -SavePoi ntsToRemove $splist This command removes the list of savepoints specified RELATED LINKS Get-RepositorySavePoint Remove-Repository

Page 80: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Run-JobsNow SYNOPSIS Run jobs specified by their template IDs SYNTAX Run-JobsNow [-TemplateIds] <string> [<CommonParameters>] DETAILED DESCRIPTION The Run-JobsNow cmdlet runs jobs specified by their template IDs. PARAMETERS -TemplateIds <string> The job template IDs. Seperate multiple IDs by ','. Required? true Position? 0 Default value variable Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES For more information, type "Get-Help Run-JobsNow -detailed". For techni cal information, type "Get-Help Run-JobsNow -full". When specifying multiple values for a parameter, use commas to separate

Page 81: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

the values. For example, "<parameter-name> <value1>, <value2>". -------------------------- EXAMPLE 1 -------------------------- PS C:\Program Files\Vizioncore\vRanger\PowerShell>Run-JobsNow d7ebc5c4-7916 -44c4-a0c2-2412999735f3,d7ebc5c4-7916-44c4-a0c2-2412990005f3 This command runs jobs specified by their templates RELATED LINKS Add-BackupJob Add-RestoreJob Get-Jobs Get-JobTemplates

Page 82: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

NAME Set-MountPath SYNOPSIS Sets mount path for a volume. SYNTAX Set-MountPath [-Volume] <Volume> [-Path] <String> [-WhatIf] [-Confirm] [<Co mmonParameters>] DETAILED DESCRIPTION Sets mount path for a volume. After this operation, the specified volume w ill be mounted to the path specified PARAMETERS -Volume <Volume> The volume to be mounted Required? true Position? 1 Default value Accept pipeline input? true (ByPropertyName) Accept wildcard characters? false -Path <String> The path to which the volume will be mounted to. Required? true Position? 2 Default value Accept pipeline input? true (ByPropertyName) Accept wildcard characters? false -WhatIf Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false

Page 83: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

-Confirm 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, and -OutVariable. For more information, type, "get-help about_commonparameters". INPUT TYPE RETURN TYPE NOTES -------------- Example 1 -------------- C:\PS>Set-MountPath -volume $v -path 'E:\' This command mount the specified volume in the savepoint to the E:\ drive RELATED LINKS Get-Repository Get-RepositorySavePoint Get-SavePointDisk Get-VMDKVolume

Page 84: Welcome to vRanger Pro Console All cmd-lets: Get-CommandPS C:\Program Files\Vizioncore\vRanger\PowerShell>Add-SftpRepository -Serve r myserver.dev.corp -TargetDirectory mydir -User

Remove-AllMount