Discussion:
powershell error on wbadmin enable backup -addtarget:
(too old to reply)
b***@gmail.com
2015-04-25 01:53:37 UTC
Permalink
getting an error when i try adding another external hd. used the same procedure
as i always have; use get disks to retrieve guid of drive then pasting it into
the command
wbadmin enable backup -addtarget:{1390ae5c-0000-0000-0000-000000000000}

it says :
bad numeric constant: 1390.
line:1 char:39
wbadmin enable backup -addtarget:{1390 <<<< ae5c-0000-0000-0000-000000000000}
+ CategoryInfo : ParserError: (1390:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : BadNumericConstant

im lost as to what the problem is
Jürgen Exner
2015-04-25 02:28:54 UTC
Permalink
Post by b***@gmail.com
getting an error when i try adding another external hd. used the same procedure
as i always have; use get disks to retrieve guid of drive then pasting it into
the command
wbadmin enable backup -addtarget:{1390ae5c-0000-0000-0000-000000000000}
bad numeric constant: 1390.
line:1 char:39
wbadmin enable backup -addtarget:{1390 <<<< ae5c-0000-0000-0000-000000000000}
+ CategoryInfo : ParserError: (1390:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : BadNumericConstant
im lost as to what the problem is
Wild guess: are you sure those curly braces are correct or shouldn't
those be quotes? After all a GUID is a string....

jue
b***@gmail.com
2015-04-25 02:41:54 UTC
Permalink
Post by Jürgen Exner
Post by b***@gmail.com
getting an error when i try adding another external hd. used the same procedure
as i always have; use get disks to retrieve guid of drive then pasting it into
the command
wbadmin enable backup -addtarget:{1390ae5c-0000-0000-0000-000000000000}
bad numeric constant: 1390.
line:1 char:39
wbadmin enable backup -addtarget:{1390 <<<< ae5c-0000-0000-0000-000000000000}
+ CategoryInfo : ParserError: (1390:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : BadNumericConstant
im lost as to what the problem is
Wild guess: are you sure those curly braces are correct or shouldn't
those be quotes? After all a GUID is a string....
jue
ill try and enclose it in quotes, but never had to do that before. the
{} are correct. maybe "{........}"

Loading...