+ Post New Thread
Results 1 to 2 of 2
Enterprise Software Thread, Data Protection Manager ForceFree.ps1 script error in Technical; Currently using SCDPM 2012 SP1 on a Server 2012 server. I've just added a Quantum Tapeload to the server which ...
  1. #1
    Fazza's Avatar
    Join Date
    Jun 2012
    Location
    England
    Posts
    197
    Thank Post
    4
    Thanked 20 Times in 19 Posts
    Rep Power
    8

    Question Data Protection Manager ForceFree.ps1 script error

    Currently using SCDPM 2012 SP1 on a Server 2012 server.

    I've just added a Quantum Tapeload to the server which will be using tapes that already have data on them.

    To mark them as free you're supposed to use the script found here: MS Technet

    When running the script it prompts for the server name, library name and tape location. After entering this in we get the following error:

    Connect-DPMServer : The term 'Connect-DPMServer' is not recognized as the name of a cmdlet, function, script file, or
    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
    again.
    At C:\ForceFree.ps1:43 char:7
    + if (!(Connect-DPMServer $DPMServerName))
    + ~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Connect-DPMServer:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    Get-DPMLibrary : The term 'Get-DPMLibrary' is not recognized as the name of a cmdlet, function, script file, or
    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
    again.
    At C:\ForceFree.ps1:49 char:12
    + $library = Get-DPMLibrary $DPMServerName | where {$_.UserFriendlyName -eq $Libra ...
    + ~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Get-DPMLibrary:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    C:\ForceFree.ps1 : Failed to find library with user friendly name kripke
    At line:1 char:1
    + ./forcefree
    + ~~~~~~~~~~~
    + CategoryInfo : NotSpecified: ( [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException, ForceFree.ps1


    I'm not a PowerShell expert (yet) so need some help with this error please?!

    Thanks.

  2. #2
    Fazza's Avatar
    Join Date
    Jun 2012
    Location
    England
    Posts
    197
    Thank Post
    4
    Thanked 20 Times in 19 Posts
    Rep Power
    8
    It seems to be an ID ten T error (change the ten to 10) or a PICNIC error on this occasion.

    I was running it in a standard PowerShell window and not the DPM Management Shell like I should have been!

    Oh well, leaving this here might help someone else having a 'senile moment'!!

SHARE:
+ Post New Thread

Similar Threads

  1. data protection manager 2007
    By kevin_lane in forum Windows Server 2000/2003
    Replies: 3
    Last Post: 12th June 2009, 12:02 PM
  2. Data Protection Manager
    By faza in forum How do you do....it?
    Replies: 2
    Last Post: 14th May 2009, 02:00 PM
  3. Replies: 0
    Last Post: 28th January 2009, 02:24 PM
  4. Replies: 1
    Last Post: 22nd May 2008, 11:36 AM
  5. Backups - Data Protection Manager
    By fooby in forum How do you do....it?
    Replies: 4
    Last Post: 14th December 2006, 10:45 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •