Re: [ADSM-L] Need help getting TSM Selective to work in a Powershell script
2013-03-14 10:46:49
In PowerShell, isn't the grave accent character its escape char?
(http://www.techotopia.com/index.php/Windows_PowerShell_1.0_String_Quoting_and_Escape_Sequences)
Richard Sims
On Mar 14, 2013, at 10:24 AM, "Schaub, Steve" <steve_schaub AT BCBST DOT COM>
wrote:
> Del,
> Still getting an error:
> PS C:\Program Files\tivoli\tsm\baclient> $myBackupDir = "F:\folder with
> spaces"
> PS C:\Program Files\tivoli\tsm\baclient> &.\DSMC SELECTIVE \"$myBackupDir\"
> -SUBDIR=Y
> ANS1107E Invalid option/value: '-SUBDIR=Y"'
> PS C:\Program Files\tivoli\tsm\baclient>
> Thanks,
> -steve
|
|
|