Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • VERB name to Sync Offline files folder in Windows 7

    We have code that invokes the "Sync" VERB for a folder that has been made available Offline via Offline Files. We basically achieve this by using Shell32 to programmatically invoke the Sync option available in the right click menu of a folder (context menu). The code is simple and works in...
    Posted to PowerShell for Windows (Forum) by jcTW on 01-11-2011
    Filed under: powershell, powershell Windows-programming, windows, COM
  • Re: Make files available offline with PowerShell

    Any idea how to invoke verbs that are in a sub menus like the Sync for Offline Files in Windows 7 ("Sync > Sync selected offline files")? This option is available once the folder/file has been made Available Offline. For more details about my question see this thread http://powershell.com...
    Posted to PowerShell for Windows (Forum) by jcTW on 01-11-2011
    Filed under: powershell, powershell Windows-programming, windows, COM
  • automation of emc (symcli commands)

    If you are familiar with EMC solutions enabler (which provides DOS command-like commands) like symcfg list, which outputs a list of the emc storage arrays located in a particular site by firmware code version, etc., or symsnap -sid 2045 list -pools -gb, I have created several symcli commands which I...
    Posted to PowerShell for Windows (Forum) by rwaite649 on 02-14-2011
    Filed under: powershell Windows-programming, files metadata
  • XML, Powershell and Arrays

    Hello I have an Infopath Doc that is stored as XML on our SP farm, I am trying to access certain information in the infopath form to assign as a variable for use in creating folder structures and websites. That is not too hard when dealing with clearly named elements in the xml doc, however on large...
    Posted to PowerShell for Windows (Forum) by Robert Burke on 02-20-2011
    Filed under: powershell, powershell Windows-programming, Variable, windows, powershell remoting, XML, array
  • XML configuration file for scripts

    Hi, inspired by recent blog entries I was trying to create an XML configuration file for a powershell script. Goal: store the last date&time the script was successfully run and other run-time related information. solution idea: <?xml version="1.0" encoding="utf-8"?> <config>...
    Posted to PowerShell for Windows (Forum) by mwood on 02-22-2011
    Filed under: powershell, powershell Windows-programming, XML
  • get-variable does not work with array [can't figure out how]

    One can get the value of a scalar variable the name of which is stored in another variable: PS H:\ps\fullLoad> $a="aaaaa" PS H:\ps\fullLoad> $b="a" PS H:\ps\fullLoad> get-variable $b -valueOnly aaaaa The same approach however does not allow me to get the value of an element...
    Posted to PowerShell for Windows (Forum) by lubo on 03-31-2011
    Filed under: powershell Windows-programming
  • Using PowerShell to connect to a WCF service which has a TCP/IP binding

    Hi All, Hopeing someone can point me into the right direction here. I have a WCF service someone created that is hosted as a Windows Service. The binding is tcp/ip. Using PowerShell are there any examples how I can bind to this service, generate the proxy to call into it's methods? The only one coming...
    Posted to PowerShell for Windows (Forum) by Smitty on 05-05-2011
    Filed under: powershell, powershell Windows-programming, powershell remoting
  • WMI error on w2k8, despite PacketPrivacy

    Hello ! I've made a script that checks MSClusters' status remotely, using WMI. I have upgraded to POSH v2 to include 'Autentication PacketPrivacy', and it all works perfectly. My query does return the expected results, however my queries keep creating an error msg on the remote servers...
    Posted to PowerShell for Windows (Forum) by SteinIP on 05-06-2011
    Filed under: powershell, powershell Windows-programming, wmi, windows, powershell remoting, Operating Systems
  • if Copy-Item fail or secsuse export to log

    how to get this simpel script to run $remotePCName = Gc "C:\script\computers.txt" $remoteRoot = “\\$remotePCName\f” $Location = $remoteRoot Copy-Item "c:\vmware” $Location -recurse -force if Copy-Item fail <-------this is my problem Write-Output "$remotePCName"...
    Posted to PowerShell for Windows (Forum) by eizhak9 on 05-08-2011
    Filed under: powershell Windows-programming, copy-item
  • The method returned a COM Variant type that is not Interop compatible

    Hi! I am trying to create a script in Powershell 2.0 which is using an API via a COM object. The object is created fine, but when i try to call a spesific method on this object it returns the following error: The method returned a COM Variant type that is not Interop compatible This method is supposed...
    Posted to PowerShell for Windows (Forum) by cabster on 05-31-2011
    Filed under: powershell, powershell Windows-programming, COM
Page 1 of 3 (28 items) 1 2 3 Next >
Copyright 2012 PowerShell.com. All rights reserved.