<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NetApp VSC Powershell Toolkit in VMware Solutions Discussions</title>
    <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/114923#M8473</link>
    <description>&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What mode of Data ONTAP are you using? 7-Mode or clustered Data ONTAP? What version of vSphere are you using? If you are using vSphere 6.X then there is a powershell module for VSC6 available here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VSC6.1 &lt;A title="http://mysupport.netapp.com/NOW/download/software/vsc_win/6.1/VSC-6.1.zip" href="http://mysupport.netapp.com/NOW/download/software/vsc_win/6.1/VSC-6.1.zip" target="_blank"&gt;http://mysupport.netapp.com/NOW/download/software/vsc_win/6.1/VSC-6.1.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Virtual Storage Console 6.1 for VMware vSphere Reference Guide for APIs and PowerShell Cmdlets &lt;A title="https://library.netapp.com/ecm/ecm_get_file/ECMP12484464" href="https://library.netapp.com/ecm/ecm_get_file/ECMP12484464" target="_blank"&gt;https://library.netapp.com/ecm/ecm_get_file/ECMP12484464&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your options are use the powershell cmdlet's if you are running vSphere 6.X or invoke the VSC API's using web services\SOAP (this is available in any version of VSC). Based on which version of ontap you are using i can share an example of how to invoke the VSC API's using SOAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for an example of how to create a number of clones using naming standard...the following code provides an example (but for creating the Active Directory computer account objects for your clones) which you will need to do before you create the VSC rapid clones (I'm assuming this is how you are using VSC when creating clones...IE create X number of clones matching the computer naming standard ABC)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;#'-----------------------------------------------------------------------------
'Command Name : create_computer_accounts
'Author       : Matthew Beattie
'Email        : mbeattie@netapp.com
'Created      : 2015-11-28
'Description  : This WFA command creates a specified number of Active Directory
'             : Computer Account Objects in an Organizational Unit matching a
'             : specified naming standard.
'-----------------------------------------------------------------------------#&amp;gt; 
param(
   [Parameter(Mandatory=$True, HelpMessage="The hostname of the Active Directory Computer Account to create")]
   [String]$HostName,
   [Parameter(Mandatory=$True, HelpMessage="The hostname naming prefix of the Active Directory Computer Account to create")]
   [String]$HostNamePrefix,
   [Parameter(Mandatory=$True, HelpMessage="The hostname naming prefix of the Active Directory Computer Account to create")]
   [Int]$HostNameCount,
   [Parameter(Mandatory=$True, HelpMessage="The Distinguished Name of the Organizational Unit to create the Computer Account in")]
   [String]$OrganizationalUnit,
   [Parameter(Mandatory=$True, HelpMessage="A comma delimited list of hostnames or IP Addresses of Domain Controllers")]
   [String]$DomainControllers
)
#'------------------------------------------------------------------------------
#'Ensure the NetBIOS hostname is valid as per: https://support.microsoft.com/en-us/kb/909264
#'------------------------------------------------------------------------------
Function Check-HostName{
   Param(
      [Parameter(Mandatory=$True, HelpMessage="The hostname of the Active Directory Computer Account to validate")]
      [String]$HostName
   )
   #'---------------------------------------------------------------------------
   #'Create a hashtable of disallowed characters in NetBIOS hostnames and DNS records.
   #'---------------------------------------------------------------------------
   [HashTable]$disAllowed = @{"`\" = "`\"; "`/" = "`/"; "`:" = "`:"; "`*" = "`*"; "`?" = "`?";
                              """" = """"; "`&amp;lt;" = "`&amp;lt;"; "`&amp;gt;" = "`&amp;gt;"; "`|" = "`|"; "`," = "`,";
                              "`!" = "`!"; "`@" = "`@"; "`#" = "`#"; "`$" = "`$"; "`%" = "`%";
                              "`^" = "`^"; "`&amp;amp;" = "`&amp;amp;"; "`'" = "`'"; "`." = "`."; "`(" = "`(";
                              "`)" = "`)"; "`{" = "`{"; "`}" = "`}"; "`_" = "`_"; "` " = "` ";}
   #'---------------------------------------------------------------------------
   #'Ensure none of the invalid characters are contained in the NetBIOS hostname.
   #'---------------------------------------------------------------------------
   ForEach($key In $disAllowed.Keys){
      If($HostName.Contains($key)){
         Get-WFALogger -Error -Message "The character ""$key"" is invalid in NetBIOS hostname ""$HostName"""
         Return $False;
      }
   }
   If(($HostName.Length -gt 0) -And ($HostName.Length -ge 16)){
      Get-WFALogger -Error -Message "The hostname ""$HostName"" is greater than 15 characters"
      Return $False;
   }Else{
      If($HostName -eq $Null -Or $HostName -eq ""){
         Get-WFALogger -Error -Message "The hostname is null or empty"
         Return $False;
      }
   }
   Return $True;
}#End Function
#'------------------------------------------------------------------------------
#'Validate the NetBIOS hostname.
#'------------------------------------------------------------------------------
[String]$HostName       = $HostName.ToUpper();
[String]$hostNameNumber = $HostName.Replace($HostNamePrefix, "")
[String]$url            = "https://support.microsoft.com/en-us/kb/909264"
If(-Not(Check-HostName -HostName $HostName)){
   Throw "The NetBIOS hostname ""$HostName"" is invalid. Please refer to Microsoft KB article ""$url"" for NetBIOS hostname naming standards"
}Else{
   #Get-WFALogger -Info -Message "The hostname ""$HostName"" is valid as per Microsoft KB Article ""$url"" for NetBIOS hostname naming standards"
   Write-Host "The hostname ""$HostName"" is valid as per Microsoft KB Article ""$url"" for NetBIOS hostname naming standards"
}
#'------------------------------------------------------------------------------
#'Ensure the comma delimited list of Domain Controllers is converted to an array.
#'------------------------------------------------------------------------------
If($domainControllers.Contains(",")){
   [Array]$ipAddresses = $DomainController.Split(",")
}Else{
   [Array]$ipAddresses = $DomainControllers
}
[Bool]$continue = $False
ForEach($ipAddress In $ipAddresses){
   #'---------------------------------------------------------------------------
   #'Resolve the IP Address to the Domain Controllers hostname.
   #'---------------------------------------------------------------------------
   If($ipAddress -match "\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}"){
      [String]$dc = [System.Net.Dns]::GetHostEntry($ipAddress).HostName
      #Get-WFALogger -Info -Message "Resolved IP Address ""$ipAddress"" to hostname ""$dc"""
      Write-Host "Resolved IP Address ""$ipAddress"" to hostname ""$dc"""
   }Else{
      [String]$dc = $ipAddress
   }
   #'---------------------------------------------------------------------------
   #'Ensure the Domain Controller name is set to it's NetBIOS hostname. 
   #'---------------------------------------------------------------------------
   If($dc.Contains(".")){
      [String]$DomainController = $dc.Split(".")[0]
   }Else{
      [String]$DomainController = $dc
   }
   #'---------------------------------------------------------------------------
   #'Check if the domain controller replies to an ICMP Request. 
   #'---------------------------------------------------------------------------      
   Try{
      $reply = Test-Connection -ComputerName $DomainController -Count 1 -ErrorAction Stop
      #Get-WFALogger -Info -Message "The Domain Controller ""$DomainController"" responded to an ICMP Request"
      Write-Host "The Domain Controller ""$DomainController"" responded to an ICMP Request"
      [Bool]$continue = $True
      Break;
   }Catch{
      #Get-WFALogger -Error -Message "The Domain Controller ""$DomainController"" did not respond to an ICMP Request"
      Write-Warning -Message "The Domain Controller ""$DomainController"" did not respond to an ICMP Request"
   }
}
#'------------------------------------------------------------------------------
#'Set the Domain Controller to the WFA servers logon server if not provided.
#'------------------------------------------------------------------------------
If($DomainController -eq $Null -Or $DomainController -eq ""){
   [String]$DomainController = ($env:logonserver -Replace("\\", "")).ToLower();
   Try{
      $reply = Test-Connection -ComputerName $DomainController -Count 1 -ErrorAction Stop
      #Get-WFALogger -Info -Message "The Domain Controller ""$DomainController"" responded to an ICMP Request"
      Write-Host "The Domain Controller ""$DomainController"" responded to an ICMP Request"
      [Bool]$continue = $True
   }Catch{
      #Get-WFALogger -Error -Message "The Domain Controller ""$DomainController"" did not respond to an ICMP Request"
      Write-Warning -Message "The Domain Controller ""$DomainController"" did not respond to an ICMP Request"
   }
}
#'------------------------------------------------------------------------------
#'Exit if there were no domain controllers available.
#'------------------------------------------------------------------------------
If(-Not($continue)){
   Throw "Failed to contact a domain controller"
}
#'------------------------------------------------------------------------------
#'Bind to the Organizational Unit to create the computer accounts in.
#'------------------------------------------------------------------------------
Try{
   $ou = [ADSI]"LDAP://$DomainController/$OrganizationalUnit"
   #Get-WFALogger -Info -Message "Performed LDAP Bind to Organizational Unit ""LDAP://$DomainController/$OrganizationalUnit"""
   Write-Host "Performed LDAP Bind to Organizational Unit ""LDAP://$DomainController/$OrganizationalUnit"""
}Catch{
   #Get-WFALogger -Error -Message $("Failed binding to organizational unit ""LDAP://$DomainController/$OrganizationalUnit"" on Domain Controller ""$DomainController"". Error " + $_.Exception.Message)
   Write-Host -Message $("Failed binding to organizational unit ""LDAP://$DomainController/$OrganizationalUnit"" on Domain Controller ""$DomainController"". Error " + $_.Exception.Message)
   Throw "Failed binding to organizational unit ""LDAP://$DomainController/$OrganizationalUnit"" on Domain Controller ""$DomainController"""
}
#'------------------------------------------------------------------------------
#'Process the number of clones
#'------------------------------------------------------------------------------
[Int]$errorCount = 0
For($i = ([Int]$hostNameNumber); $i -le ([Int]$hostNameNumber + $HostNameCount); $i++){
   Do{
      #'------------------------------------------------------------------------
      #'Set the hostname name
      #'------------------------------------------------------------------------
      [String]$hostNumber   = $i.ToString().PadLeft($hostNameNumber.Length, "0")
      [String]$computerName = "$HostNamePrefix$hostNumber"
      #'------------------------------------------------------------------------
      #'Create the computer account in the Organizational Unit.
      #'------------------------------------------------------------------------
      Try{
         $computer = $ou.Create("Computer", "CN=$computerName")
         $computer.Put("sAMAccountName", "$computerName`$")
         $computer.Put("userAccountControl", 4128)
         $computer.SetInfo();
         #Get-WFALogger -Info -Message "Created Computer Account ""$computerName"" in Organizational Unit ""$OrganizationalUnit"" on Domain Controller ""$DomainController"""
         Write-Host "Created Computer Account ""$computerName"" in Organizational Unit ""$OrganizationalUnit"" on Domain Controller ""$DomainController"""
      }Catch{
         #Get-WFALogger -Error -Message $("Failed creating computer account ""$computerName"" in Organizational Unit ""$OrganizationalUnit"". Error " + $_.Exception.Message)
         Write-Host -Message $("Failed creating computer account ""$computerName"" in Organizational Unit ""$OrganizationalUnit"". Error " + $_.Exception.Message)
         [Int]$errorCount = $errorCount + 1
      }
   }Until($True)
}
#'------------------------------------------------------------------------------
#'Ensure an error is raised if there were any failures.
#'------------------------------------------------------------------------------
If($errorCount -ne 0){
   Throw "Failed creating computer accounts in Organizational Unit ""$OrganizationalUnit"""
}
#'------------------------------------------------------------------------------&lt;/PRE&gt;&lt;P&gt;Note that i've commented out some lines for the "Get-WFALogger" statement and replaced them with Write-Host or Write-Warning (so it will work if you run it from a powershell prompt)...This is because i've cut\pasted my code from OnCommand Workflow Automation (WFA). The same code will work in WFA or in Powershell. EG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PS C:\Scripts\PowerShell\Projects\CreateComputerAccounts&amp;gt; .\CreateComputerAccounts.ps1 -HostName TESTWS111 -HostNamePrefix TESTWS -HostNameCount 10 -OrganizationalUnit "OU=Desktops,DC=testlab,DC=local" -DomainControllers testdc01
The hostname "TESTWS111" is valid as per Microsoft KB Article "https://support.microsoft.com/en-us/kb/909264" for NetBIOS hostname naming standards
The Domain Controller "testdc01" responded to an ICMP Request
Performed LDAP Bind to Organizational Unit "LDAP://testdc01/OU=Desktops,DC=testlab,DC=local"
Created Computer Account "TESTWS111" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS112" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS113" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS114" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS115" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS116" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS117" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS118" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS119" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS120" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"
Created Computer Account "TESTWS121" in Organizational Unit "OU=Desktops,DC=testlab,DC=local" on Domain Controller "testdc01"&lt;/PRE&gt;&lt;P&gt;however i would recommend that if you are going to invest your time in automating this in your environment then you write workflows instead of scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can download WFA for FREE here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="http://mysupport.netapp.com/download/software/ocwfa/3.1P1" href="http://mysupport.netapp.com/download/software/ocwfa/3.1P1" target="_blank"&gt;http://mysupport.netapp.com/download/software/ocwfa/3.1P1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know what versions you are running and i can provide some examples to integrate that with VSC rapid clones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/matt&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2016 00:00:18 GMT</pubDate>
    <dc:creator>mbeattie</dc:creator>
    <dc:date>2016-01-22T00:00:18Z</dc:date>
    <item>
      <title>NetApp VSC Powershell Toolkit</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61252#M5771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of you are familiar with our previous "kamino" powershell cmdlets/module.&amp;nbsp; The problem with that is that is was focused on one particular functional area of VSC:&amp;nbsp;&amp;nbsp; Provisioning &amp;amp; Cloning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That simply does not scale well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we went back to the drawing board, and did some renaming of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caveats:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Functionally, these are identical actions to the previous kamino cmdlets.&lt;/LI&gt;&lt;LI&gt;We have renamed things to be more generic, or all-encompassing, as we begin down the path of adding APIs for many tasks in the VSC.&lt;/LI&gt;&lt;LI&gt;We understand that many of you already have scripts in place using the older stuff, but please understand, all you need to change is the module that gets loaded, and the cmdlet names used.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going forward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;As we add new APIs to VSC, we will also be adding equivalent cmdlets for that functionality.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any questions, or run into any issues with the toolkit/module, please post them here!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS&amp;gt; Import-Module C:\Path-to-DLL\NetAppVSC.dll&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS&amp;gt; Get-Command -Module NetAppVSC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CommandType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/P&gt;&lt;P&gt;-----------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect-vsc&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get-vscManagedObjectRef&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get-vscVirtualMachine&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get-vscVmFileSpec&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New-vscControllerSpec&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New-vscDatastore&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remove-vscDatastore&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-vscDatastoreSize&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start-vscClone&lt;/P&gt;&lt;P&gt;Cmdlet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start-vscRedeploy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;UPDATE:&amp;nbsp; Due to some inconsistencies we have found with the .dll (we think compiling corruption on the final build) we've pulled this down temporarily so that it doesn't proliferate further, and will get a new version up ASAP.&amp;nbsp; Please remember that this isn't something officially sanctioned by NetApp, but something that 1 or 2 of us are doing in our spare time.&amp;nbsp; Thank you for your patience, and we'll get it back very soon, I promise!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE: I am posting the original rebranded toolkit!&amp;nbsp; Please let know how this works! &lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Nick&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 21:21:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61252#M5771</guid>
      <dc:creator>datacenterdude</dc:creator>
      <dc:date>2012-12-03T21:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61255#M5772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have VSC 4.1 installed on our vCenter Server 4.1 U3 box. Will this toolkit allow me to create scripts for cloning out a development environment of several VMs? Do you know of any documentation or example scripts to get me started? I noticed there is no documentation in the zip file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Dec 2012 21:20:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61255#M5772</guid>
      <dc:creator>danieljlucas</dc:creator>
      <dc:date>2012-12-22T21:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61259#M5773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I'm unable to import this module to use it with powershell, I think that is because it is missing some files like the module manifest, and file that define the types..&lt;/P&gt;&lt;P&gt;Can you upload the full powershell module or explaine how can I use the files I have downloaded here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Chen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2012 08:40:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61259#M5773</guid>
      <dc:creator>elic_co</dc:creator>
      <dc:date>2012-12-31T08:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61264#M5775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Chen said! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:45:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61264#M5775</guid>
      <dc:creator>AENETAPPUSER</dc:creator>
      <dc:date>2013-01-08T13:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61269#M5777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any doco on these cmdlets outside of the Get-Help options in PowerShell?&lt;/P&gt;&lt;P&gt;We're having issues with vCenter and VSC 4.1, the main one being an issue with the &lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-AU; mso-bidi-language: AR-SA;"&gt;bootsPerMinute &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-AU; mso-bidi-language: AR-SA;"&gt;option breaking when we try to create clones.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-AU; mso-bidi-language: AR-SA;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-AU; mso-bidi-language: AR-SA;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-AU; mso-bidi-language: AR-SA;"&gt;Pete&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 02:23:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61269#M5777</guid>
      <dc:creator>PJATSUNCORP</dc:creator>
      <dc:date>2013-01-09T02:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61273#M5779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+1 What Chen said!&lt;/P&gt;&lt;P&gt;I think there's some stuff missing... &lt;/P&gt;&lt;P&gt;You're zip file is just the NetAppVSC.dll file...&lt;/P&gt;&lt;P&gt;The Connect-VSC cmdlet doesn't work... The Kamino version does:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The type initializer for 'com.netapp.vsc.cmdlets.Connectvsc' threw an exception.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 05:18:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61273#M5779</guid>
      <dc:creator>PJATSUNCORP</dc:creator>
      <dc:date>2013-01-09T05:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61278#M5780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback!&amp;nbsp; Just wanted to let you know that we're checking into this and will get a new version up soon!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 15:05:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61278#M5780</guid>
      <dc:creator>datacenterdude</dc:creator>
      <dc:date>2013-01-09T15:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61282#M5781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Do you have a rough eta? Also, can you make sure that it has the bootsperminute thing included in it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 22:10:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61282#M5781</guid>
      <dc:creator>PJATSUNCORP</dc:creator>
      <dc:date>2013-01-09T22:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61287#M5782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;UPDATE:&amp;nbsp; Due to some inconsistencies we have found with the .dll (we think compiling corruption on the final build) we've pulled this down temporarily so that it doesn't proliferate further, and will get a new version up ASAP.&amp;nbsp; Please remember that this isn't something officially sanctioned by NetApp, but something that 1 or 2 of us are doing in our spare time.&amp;nbsp; Thank you for your patience, and we'll get it back very soon, I promise!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 09:58:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61287#M5782</guid>
      <dc:creator>datacenterdude</dc:creator>
      <dc:date>2013-01-15T09:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61292#M5783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;First off, thank you for doing this in your spare time.&amp;nbsp; Scripting these kinds of tasks saves everyone time once the scripts are written.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My question: I am looking for a way to "Set Recommended Values" (Open NetApp tab in vCenter -&amp;gt; Right Click Host -&amp;gt; Set Recommended Values) via a script.&amp;nbsp; Would this PowerShell toolkit allow for that setting?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alternatively, I can set the advanced settings with the VMware PowerCLI, but my concern is there is something being set with the "Set Recommended Values" that I would be missing by setting the advanced settings manually.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you again for your efforts in creating this Powershell toolkit.&amp;nbsp; It is very much appreciated and I look forward to seeing the updated link.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 17:29:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61292#M5783</guid>
      <dc:creator>DLVIRTUALSERVERS</dc:creator>
      <dc:date>2013-01-16T17:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61297#M5784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not yet.&amp;nbsp; This is a baseline Toolkit that we basically rebuilt from the legacy 'kamino' kit some of you may remember, which only contained the few pieces with APIs already from Provisioning &amp;amp; Cloning.&amp;nbsp; We also added some new .cs files for the vCloud APIs, which I think is where we ran into problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The M&amp;amp;HC section is going to have some APIs that we'll be able to code against (either C# or PS directly) so once those are there, we'll be able to do what you're after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My hold up currently is trying to mess around with Windows 8, and lost a hard drive in my laptop that had my Windows 7 VM (with my Visual Studio) so trying to get all that rebuilt so we can continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 18:19:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61297#M5784</guid>
      <dc:creator>datacenterdude</dc:creator>
      <dc:date>2013-01-16T18:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61302#M5785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since our corporate standard will be to migrate from agent-based backups to VSC-based snapshots, are there plans to be able to script any pieces of the Backup and Recovery component?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any plans to formalize and support the PowerShell toolkit or will this continue to be an unsupported add-on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 22:29:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61302#M5785</guid>
      <dc:creator>ewilts_mc</dc:creator>
      <dc:date>2013-02-04T22:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61305#M5786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ewilts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There IS a hidden cli that we like to call 'smvicli' where you can execute some things against the VSC service to trigger backup workflows.&amp;nbsp; You can find any and all documentation on this in in Install and Admin Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as the powershell toolkit is concerned, there are no APIs for it yet, so nothing for us to extend unfortunately.&amp;nbsp; It is something that will come in the future, but we are currently in a bit of a transition period where we're moving from the thick C# vSphere client to the Web GUI.&amp;nbsp;&amp;nbsp; I think once we see how things come together with the webGUI, adding an underlying WSDL to write powershell against will be pretty straight-forward.&amp;nbsp;&amp;nbsp; Seemingly all about time and patience right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, none of NetApp's powershell addon's/Toolkits fall into the "supported" bracket, even though they're all used very heavily.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 23:34:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61305#M5786</guid>
      <dc:creator>datacenterdude</dc:creator>
      <dc:date>2013-02-04T23:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit 1.0</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61311#M5787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, please note that the original package has been re-added to the first post.&amp;nbsp; This is simply the re-branding effort of the original kamino toolkit, as stated, and look for further updates as we add more functionality/APIs into the VSC!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for taking so long to get this back out here!&amp;nbsp; Some extreme circumstances took place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 20:07:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61311#M5787</guid>
      <dc:creator>datacenterdude</dc:creator>
      <dc:date>2013-05-03T20:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61316#M5788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick question, I have an unknown controller that is marked as Skipped that we cant removed I have tried, unsetting the Skipped value, tried right click Delete Controller and get an alert saying you cannot delete this controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering, is there a way to remove an unknown, skipped controller? I found a perlscript to remove hosts from vCenter when they are on zombie state and was hoping the Toolkit may have a command to remove controller or something that will allow me to remove it for good!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: This is not a NetApp controller, it was a CentOS server running NFS that we mounted a while ago so we could copy some virtual machines while rebuilding the host hosting these VMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;P&gt;Carol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 03:10:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61316#M5788</guid>
      <dc:creator>aaw</dc:creator>
      <dc:date>2013-05-07T03:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61320#M5789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Note that you would need to update "10.61.167.168" with your VSC IP Address in the NetAppVSC.dll.config file. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;com.netapp.vsc.Properties.Settings&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting name="NetApp_vsc_ApiImplService" serializeAs="String"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.61.167.168:8143/kamino/public/api" target="_blank"&gt;https://10.61.167.168:8143/kamino/public/api&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting name="NetApp_vsc_ApiImplService" serializeAs="String"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.61.167.168:8143/kamino/public/api" target="_blank"&gt;https://10.61.167.168:8143/kamino/public/api&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/com.netapp.vsc.Properties.Settings&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;com.netapp.vsc.Properties.Settings&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting name="NetApp_vsc_ApiImplService" serializeAs="String"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.61.167.168:8143/kamino/public/api" target="_blank"&gt;https://10.61.167.168:8143/kamino/public/api&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/com.netapp.vsc.Properties.Settings&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regardless of updating the IP it still got a 404 using this .dll (even though the object exists, can be browsed in the vcenter MOB and connected to via kamino). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get-vscManagedObjectRef : The request failed with HTTP status 404: Not Found.&lt;/P&gt;&lt;P&gt;At line:1 char:24&lt;/P&gt;&lt;P&gt;+ Get-vscManagedObjectRef &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; "Sydney" Datacenter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (com.netapp.vsc.vscServer:vscServer) [Get-vscManagedObjectRef], WebExc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; eption&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiError,com.netapp.vsc.cmdlets.GetvscManagedObjectRef&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Kamino module works EG:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; import-module kamino&lt;BR /&gt;PS C:\&amp;gt; Connect-Kamino -VCenterHost $ipAddress -Credential $credentials&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VCenterHostname&amp;nbsp;&amp;nbsp;&amp;nbsp; : XX.XX.XX.XX&lt;BR /&gt;VCenterAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : XX.XX.XX.XX&lt;BR /&gt;VCenterCredentials : System.Net.NetworkCredential&lt;BR /&gt;ServiceHostname&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR /&gt;ServiceAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : XX.XX.XX.XX&lt;BR /&gt;VCenterVersion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 5.1.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; Get-KaminoManagedObjectRef "Sydney" Datacenter&lt;BR /&gt;Datacenter:datacenter-2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 02:43:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61320#M5789</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2013-07-26T02:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61325#M5790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mbeattie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helpful message.&lt;/P&gt;&lt;P&gt;After I modified NetAppVSC.dll.config file as you wrote, HTTP 404 error was disappeared successfully.&lt;/P&gt;&lt;P&gt;But when I try to run any other command-let like Get-vscManagedObjectRef, it shows HTTP 403 Forbidden...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I checked &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://vsc:8143/Register.html" target="_blank"&gt;https://vsc:8143/Register.html&lt;/A&gt;&lt;SPAN&gt; and creating SSL keystore correctly. And entered correct address, username and password to connect-vsc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Are there any other setting for authentication?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 20:59:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61325#M5790</guid>
      <dc:creator>kambara</dc:creator>
      <dc:date>2013-07-26T20:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61330#M5791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Toyohiko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like a credential issue. Try this changing the %variable% for your environment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import-Module C:\Windows\System32\WindowsPowerShell\v1.0\modules\VSC\NetAppVSC.dll&lt;BR /&gt;$ipAddress&amp;nbsp;&amp;nbsp; = "xx.xx.xx.xx"&lt;BR /&gt;$username&amp;nbsp;&amp;nbsp;&amp;nbsp; = "%domainname%\%username%"&lt;BR /&gt;$credentials = Get-Credential -Credential $username&lt;BR /&gt;Connect-vsc -vCenterHost $ipAddress -Credential $credentials&lt;/P&gt;&lt;P&gt;Assuming your credentials are correct you should be able to alteas connect,&amp;nbsp; then "in theory" you should be do something like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get-vscManagedObjectRef "%datacenterName%" Datacenter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Note I have NOT been able to successfully get any object reference using this .dll file. Works in the Kamino module in VSC2.X, not with this .dll in VSC4.X. EG:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import-module kamino&lt;BR /&gt;$ipAddress&amp;nbsp;&amp;nbsp; = "xx.xx.xx.xx"&lt;BR /&gt;$username&amp;nbsp;&amp;nbsp;&amp;nbsp; = "%domainname%\%username%"&lt;BR /&gt;$credentials = Get-Credential -Credential $username&lt;BR /&gt;Connect-Kamino -VCenterHost $ipAddress -Credential $credentials&lt;/P&gt;&lt;P&gt;VCenterHostname&amp;nbsp;&amp;nbsp;&amp;nbsp; : xx.xx.xx.xx&lt;BR /&gt;VCenterAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : xx.xx.xx.xx&lt;BR /&gt;VCenterCredentials : System.Net.NetworkCredential&lt;BR /&gt;ServiceHostname&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR /&gt;ServiceAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : xx.xx.xx.xx&lt;BR /&gt;VCenterVersion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 5.1.0&lt;/P&gt;&lt;P&gt;Get-KaminoManagedObjectRef "%datacenterName%" Datacenter&lt;BR /&gt;Datacenter:datacenter-2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to develope my own functions in powershell to work with VSC4.X using web services. EG...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[String]$ipAddress&amp;nbsp; = "xx.xx.xx.xx"&lt;BR /&gt;[Int]$portNumber&amp;nbsp;&amp;nbsp;&amp;nbsp; = 8143&lt;BR /&gt;[String]$username&amp;nbsp;&amp;nbsp; = "%domainname%\%username%"&lt;BR /&gt;[String]$uri&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "&lt;A href="https://$ipAddress`$portNumber" target="_blank"&gt;https://$ipAddress`:$portNumber/kamino/public/api?wsdl&lt;/A&gt;"&lt;BR /&gt;$credentials&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Get-Credential -Credential $username&lt;BR /&gt;$proxy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = New-WebServiceProxy -uri $uri -namespace WebServiceProxy -Credential $credentials &lt;BR /&gt;$proxy | gm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Note the methods are exposed here. EG&lt;/P&gt;&lt;P&gt;#getMoref Method string getMoref(string arg0, string arg1, WebServiceProxy.requestSpec, ebmdvg-g, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null arg2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*In theory one would assume you can send SOAP messages using this API to start cloning tasks...though others have run into trouble with that too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/message/106361#106361" target="_blank"&gt;https://communities.netapp.com/message/106361#106361&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get in touch with the developers, i'll let you know what i find out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2013 02:09:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61330#M5791</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2013-07-27T02:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61336#M5792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; background-color: #ffffff; font-family: Arial, Helvetica, Verdana, sans-serif;"&gt;&lt;EM&gt;&amp;gt; *Note I have NOT been able to successfully get any object reference using this .dll file. Works in the Kamino module in VSC2.X, not with this .dll in VSC4.X. EG:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Oh.... I understood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just trying the way as same as you wrote via using New-WebServiceProxy. &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My environment is vSphere/vCenter 5.1 and VSC 4.2 with PowerShell 2.0.&lt;/P&gt;&lt;P&gt;Fortunately, I successfully got connecting kamino, and get the list of WebService method and others.&lt;/P&gt;&lt;P&gt;However, to call "createClone" method needs really complexed procedures.&lt;/P&gt;&lt;P&gt;And I couldn't find the way to create xxxSpec element correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #454545; background-color: #ffffff; font-family: Arial, Helvetica, Verdana, sans-serif;"&gt;&amp;gt; I'm trying to get in touch with the developers, i'll let you know what i find out.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, please.&lt;/P&gt;&lt;P&gt;And thanks again, it's really helpful of me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Followings are my draft script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;## ===================================================================================================&lt;/P&gt;&lt;P&gt;## Parameters&lt;/P&gt;&lt;P&gt;## &lt;/P&gt;&lt;P&gt;$VscIpAddress = "10.130.202.171";&lt;/P&gt;&lt;P&gt;$VscPortNumber = "8143";&lt;/P&gt;&lt;P&gt;$VscUser = "administrator";&lt;/P&gt;&lt;P&gt;$VscPassword = "P@ssw0rd";&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$VscUri&amp;nbsp; = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://$VscIpAddress`$VscPortNumber" target="_blank"&gt;https://$VscIpAddress`:$VscPortNumber/kamino/public/api?wsdl&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$VcenterIpAddress = "10.130.202.171";&lt;/P&gt;&lt;P&gt;$VcenterUri = "https`://$VcenterIpAddress/sdk";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;## ===================================================================================================&lt;/P&gt;&lt;P&gt;## Create Secure Credential Object&lt;/P&gt;&lt;P&gt;##&lt;/P&gt;&lt;P&gt;$SecureVscPassword = ConvertTo-SecureString $VscPassword -AsPlainText -Force;&lt;/P&gt;&lt;P&gt;$VscCredential = new-Object System.Management.Automation.PSCredential($VscUser, $SecureVscPassword);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;## ===================================================================================================&lt;/P&gt;&lt;P&gt;## Ignore SSL Error&lt;/P&gt;&lt;P&gt;##&lt;/P&gt;&lt;P&gt;[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;## ===================================================================================================&lt;/P&gt;&lt;P&gt;## Main&lt;/P&gt;&lt;P&gt;##&lt;/P&gt;&lt;P&gt;try {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $VscProxy = New-WebServiceProxy -Uri $VscUri -Namespace VscRcu;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;catch {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Error $_ -ErrorAction:`SilentlyContinue`;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$VscProxy | Get-Member;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2013 10:11:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61336#M5792</guid>
      <dc:creator>kambara</dc:creator>
      <dc:date>2013-07-27T10:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp VSC Powershell Toolkit</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61340#M5793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For anyone following this thread...please see the following link for an alternate solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/thread/30999" target="_blank"&gt;https://communities.netapp.com/thread/30999&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 11:36:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/NetApp-VSC-Powershell-Toolkit/m-p/61340#M5793</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2013-08-13T11:36:17Z</dc:date>
    </item>
  </channel>
</rss>

