How to specify which version of a function to use

I tried to do what it said, but that resulted in error
PowershellPS C:\WINDOWS\system32> Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfiguration";ModuleVersion="3.4.0.0"}Import-dscResource : The term 'Import-dscResource' 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 line:1 char:1+ Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfigura ...+ ~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Import-dscResource:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

A: How to specify which version of a function to use

(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...

(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...

Similar Messages

  • How to Specify Which Version of Rsync on Server Side

    I have installed rsync 3.0.6 on both client and server side and know how to specify which version to use on the client side but am I right in assuming that if I don't specify some how on the server side it will use the version stored in /usr/bin/rsync? Do I have to move the version stored in /usr/local/bin/rsync to /usr/bin?
    Thanks.

    --rsync-path=PROGRAM specify the rsync to run on remote machine

  • How to find which version of JDK is loadjava using

    Hi All,
    How to find which version of JDK is loadjava using?
    I am using Oracle : 9.0.1.5.1 and I need to use class javax.crypto.Cipher which is shipped with JDK 1.4.2, but loadjava is unable to import javax.crypto.*;
    Any inputs would be greatly appreciated.
    Thanks and regards,
    Abba

    Abba,
    From memory only (since I haven't verified it), "loadjava" is a script, so you can have a look at its contents. I believe it actually uses JDK 1.1.8 (which is part of the Oracle installation). In any case, Oracle 9i is compatible with JDK 1.3 only.
    Oracle 10g is compatible with JDK 1.4.
    Good Luck,
    Avi.

  • How to specify which of 2 wifi cards to use

    Hi All,
    I recently installed Arch Linux on a USB (not live, a persistant installation). I have 2 wifi cards: one that came with the laptop and is used via PCIe, which is an Intel Centrino Wireless-N 2200. It's awful. The other, which is a USB wifi card and which I want to use, is an ASUS USB-N10. I checked linux-wless.passys.nl to see if the N10 was supported, and it said it was, and also said: "Supported by the rtl8192su and r8712u staging drivers in the mainline Linux kernel. Firmware from userspace is required." I can't get wifi working properly in Arch Linux, which makes it impossible to progress because I can't install anything and am stuck in just using terminal. I don't know how to specify which card to use in Arch. Any help would be much appreciated.
    Thank you for your answers in advance!

    After running ip addr, it doesn't display names for the different devices in a way that I can tell which ones they are. The names that it gave me are: "lo", "enp3s0", "wlp4s0", and "wlp0s20u2". I know that 2 of those are virtual ports for wireless devices that aren't being used, but I don't know how to differentiate.
    EDIT: Also, when I try to navigate to etc/netctl/examples/wireless-wpa, it says "Correcting wireless-wpa to ."
    EDIT 2: "lo" seems to be a generic interface, and I've narrowed down the names so now I know that my two wireless cards are 'wlp4s0" and "wlp0s20u2". When I ran iwconfig, I got
    wlp4s0 IEEE 802.11bgn ESSID:off/any
    Mode:Managed Access Point: Not-Associated Tx-Power=15dBm
    Retry long limit:7 RTS thr:off Fragment thr:off
    Encryption key: off
    Power Management: off
    wlp0s20u2 unassociated Nickname:"rtl_wifi"
    Mode:Auto Access Point: Not-Associated Sensitivity: 0/0
    Retry:of RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    lo no wireless exentions
    enp3s0 no wireless extensions
    I'm assuming that this means that the latter two interfaces are the unused virtual interfaces. Does this tell you anything important?
    Last edited by TheAtomicGoose (2014-04-07 21:05:28)

  • [Solved] How to specify which version of Java to use?

    I have OpenJDK 7 as my default, but I also am trying to use Oracle's Java 7 for a specific program. I have installed jdk7-compat as suggested by the arch wiki, but I am unsure how to use it specifically.   
    java -version outputs:
    OpenJDK Runtime Environment (IcedTea 2.5.0) (Arch Linux build 7.u60_2.5.0-2-x86_64)
    OpenJDK 64-Bit Server VM (build 24.60-b09, mixed mode)
    so OpenJDK is  still the default, which is good. At the same time, how do I use Oracle's Java for a specific program?
    Last edited by TheGuyWithTheFace (2014-07-01 16:50:01)

    You have to create a bash script to execute that program, where you define your Java variables. For example, let's supposed your oracle Java is installed at /opt/java_1.6.14/ folder
    #!/bin/bash
    export JAVA_HOME=/opt/java_1.6.14/
    export PATH=/opt/java_1.6.14/bin:$PATH
    <your command>
    Last edited by mgmartins (2014-07-01 08:29:27)

  • How to tell: Which version of camera raw do I have?

    How to tell which version of camera raw I have? The only Google search I found answering this question refers to is 2 years old and seems to no longer apply. There is no File, Edit etc. menu on the new version of Camera Raw with (Photoshop/Bridge CS6). I do use Adobe Application Manager to do my updates telling me if a new version exists or not, nevertheless I would like to know.

    The F key works as described for me in CS6-ACR7.4 with ACR as the window with focus.  The same function is available using the double-arrow-window icon at the right of the Preview checkbox near the top right of the preview area. 
    When in full-screen mode there is no title bar, but when I press the F key or click the double-arrow, again, ACR becomes smaller and I can see the title bar that includes the ACR version and camera model.  This is on Windows7-64-bit on a 1600x1050 monitor.  Perhaps you’re ACR’s title bar is off the top of the screen so you can’t see it, or maybe ACR optimizes some things if you have a smallish display—do you?
    A plug-in is a program that interfaces with another program but is not independently runnable application, itself, bit is independently updatable, so in this instance, Photoshop doesn’t need to be downloaded and installed every time Adobe adds support for a few more cameras.

  • How to check which version of hyperic is installed , hyperic 32 bit or 64 bit version on solaris

    how to check which version of hyperic is installed , hyperic 32 bit or 64 bit version on solaris

    If you have only a single home, the quickest/easiest way is probably just to check the properties of %ORACLE_HOME%\odp.net\bin\2.x\oracle.dataacess.dll
    Or are you asking how to check it at runtime?
    If you want to see externally what is actually loaded by an app you can use process explorer
    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    If you want to check it in the app itself:
    http://stackoverflow.com/questions/383686/how-do-you-loop-through-currently-loaded-assemblies
    Hope it helps,
    Greg

  • How to know which version Netweaver is been installed in the system

    How to know which version Netweaver is been installed in the system.
    I wanted to know whether i have installed NW04 SP Stack 13 or higher.
    Suggestions / Hints are wellcome
    -Naren

    hi,
    Pretty simple yar
    In portal goto>sysconfig>support-->u can find the Version in the content area at the bottom.
    There u find the SAP WAS version and EP version.
    in NWDS
    goto help---->About sap NWDS -->then popup will disply you find the version.
    Vesion: 2.0.14 like
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

  • How to check which version of Jdk installed on the machine?

    How to check which version of Jdk installed on the machine?
    & Which version of Oracle Insatlled on my machine?

    String version = System.getProperty("java.version"); %

  • How to Get Which Version of ODAC is installed on System

    Hi!
    How to find which version of ODAC is installed on system, as it is having many version like 11.2.0.3.0, 11.2.0.2.1, 11.2.0.1.2
    and so many. Again in than some are for for 32 bit & 64 bit.
    Is there any way to find which version is installed on System Using C# . I tried with registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OracleMTSRecoveryService\Setup\All Versions\1\
    but it is giving @<DB_VERSION>@
    Thank you.
    - Dattatrya Moin

    If you have only a single home, the quickest/easiest way is probably just to check the properties of %ORACLE_HOME%\odp.net\bin\2.x\oracle.dataacess.dll
    Or are you asking how to check it at runtime?
    If you want to see externally what is actually loaded by an app you can use process explorer
    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    If you want to check it in the app itself:
    http://stackoverflow.com/questions/383686/how-do-you-loop-through-currently-loaded-assemblies
    Hope it helps,
    Greg

  • How to specify PDF Version while generating reports

    Hi,
    We are using Oracle Reports 10.1.2
    We need PDF Version 1.4. But currently we are getting PDF version 1.3.
    How to specify PDF Version as 1.4 while generating the reports?
    Any help will be appreciated
    Thanks,
    Krrish

    Hello,
    You can open the PDF generated by Reports with a text editor : you'll find something like :
    %PDF-1.4
    1 0 obj
    <<
    /Creator (Oracle10gR2 AS Reports Services)
    /CreationDate (D:20070721145421)
    /ModDate (D:20070721145421)
    /Producer (Oracle PDF driver)
    /Title (pdfversion.pdf)
    /Author (Oracle Reports)
    The parameter ACCESSIBLE is described in the online help :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/cmdline/common/cla_accessible.htm
    For more details, refer to
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_pdf.htm
    Oracle® Application Server Reports Services Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    6 Using PDF in Oracle Reports
    6.1.4 Accessibility
    Regards

  • Which version of iPhoto should I use?

    When I picked up my repaired MacBook (Intel Core Duo) the person at the Apple Store showed me how to restore all of its data using my Time Machine backup.  He told me that during the repair they had installed Snow Leopard.  He had forgotten that I had told him when the MacBook first died we were told it was not worth repairing and we purchased a new MacBook Pro running Lion.  The TM backup was from that machine.  The intent was to have two machines with the same Apps & data so each of two users could take either machine and go forward from that point.  Each machine would then have its own TM Backup.
    After many discussions with tech support, almost everything except iPhoto (and incoming Apple Mail) on the MacBook works OK.  That's probably because during the restore, iPhoto 9.1.5 was installed.  It does not open because of a Frameworks conflict of some sort.  Earlier versions of iPhoto say the Library was created with a newer version.  (I temporarily moved the iPhoto Library out of my User>Pictures Folder, opened iPhoto 7.x and imported some photo's to create a new Library.  That worked.  My original Library is 35 GB so each attempt to fix anything in it has been time consuming.  That's why I'm asking the real experts.
    I've seen a suggestion from Terrance Devlin to "rebuild" the Library using the iPhoto Library Manager and others by Terrance, Neil, Old Toad, and Kappy to drag a different version of Frameworks into System>Library>?  (Apparently, some OS X 10.7 support files were loaded onto the MacBook.)  Which ones and which version?
    Which version of iPhoto should I use on the MacBook?  Which version does OS X 10.6.8 support?  Eventually, we'd also like to merge some of the individual Libraries into a shared Library.  Is iPhoto Library Manager the best way to do that?  (Speaking of that, I understand Apple does not support backup of non-Lion Mac's via Wi-Fi, except if using Time Capsule.  Seagate sells an external 2 TB Hard Drive that connects via ethernet to your Router, for that purpose.  Does it work well?)

    Terence,
    Below is a copy of the Problem Report I get after I double click the iPhoto (9.1.5) icon in my Applications folder.  Both iPhoto 6 and iPhoto 7 open but cannot read my iPhoto Library that was restored from a Lion TM backup.  I tried moving my iPhoto Library out of the Pictures folder and was able to create a new one using iPhoto 7.1.5.
    Inside of System>Library, there are two copies of the following folders:
    Frameworks
    PodcastProducer
    Keychains
    Java
    In each case, the name of the second folder includes "(from old Mac)" without the quotes after the folder name.  I believe my issue is being caused by the System using Frameworks instead of Frameworks (from old Mac), but I have not been able to switch them easily and, as you said, do not want to do serious damage.
    The only other thing that does not work properly is incoming IMAP mail via AOL and Google.  Outgoing works on those two plus Incoming and Outgoing work on the Verizon POP account.
    Here is the text from the Problem Report:
    Process:         iPhoto [1035]
    Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:      com.apple.iPhoto
    Version:         ??? (???)
    Build Info:      iPhotoProject-6150000~3
    App Item ID:     408981381
    App External ID: 3922231
    Code Type:       X86 (Native)
    Parent Process:  launchd [521]
    Date/Time:       2011-11-13 10:59:32.771 -0500
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          10637 sec
    Crashes Since Last Report:           55
    Per-App Crashes Since Last Report:   8
    Anonymous UUID:                      1FDBF6A3-E712-44D7-B3AE-E47827AADE51
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
      Referenced from: /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/ProKit
      Reason: image not found
    Binary Images:
    0x8fe00000 - 0x8fe4163b  dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld
    Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core Duo, 2 GHz, 2 GB, SMC 1.4f12
    Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), Atheros 5424: 2.1.14.6
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: TOSHIBA MK3252GSX, 298.09 GB
    Parallel ATA Device: MATSHITADVD-R   UJ-857, 7.24 GB
    USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8501, 0xfd400000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0217, 0x1d200000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8240, 0x5d200000 / 2
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8205, 0x7d100000 / 2

  • Which version of jwsdp is being used

    How can I determine which version of jwsdp is being used? Is it by jar name?

    Depends entirely on what you choose to export:
    File -> Export Photo
    Will export The current version, the original, a jpeg, tiff or png. All of them will be the edited version except the Original.
    If you want to move all your versions between Libraries check out iPhoto Library Manager
    Regards
    TD

  • I`m using samsung wave 7233 BADA os so which version of firefox i Should use?

    I`m using Samsung wave 7233 BADA os so which version of Firefox i Should use?

    We don't have a product that runs on BADA. Firefox Mobile needs Android 2.0+ or Mameo (MeeGo) devices.

  • Poll - Which Version Control Software Do You Use With LabVIEW?

    I wish the forums had a poll feature. I created a poll in the developer community - Which Version Control Software Do You Use With LabVIEW?
    http://decibel.ni.com/content/polls/1818
    Edit: I just saw that there already is a poll for that
    http://decibel.ni.com/content/polls/1050
    =====================
    LabVIEW 2012

    julieann wrote:
    You can use a source control provider to share files among multiple users, improve security and quality, and track changes to shared projects. Use LabVIEW with third-party source control providers so you can check out files and track changes from within LabVIEW. See info. here.
    Looks suspiciously like someone trying to increase hits on their blog. A coincidence that it was posted the same day as the blog post?
    Message has been reported to the moderator. Laura can decide whether or not it's appropriate.

Maybe you are looking for

  • When I open a second Profile while another is running the second cannot access the Internet until I close the first. Why?

    I often have occasions to run more than one Profile simultaneously (usually because of different add-ons I've installed on different Profiles). In the past this worked fine. Now, all of a sudden, if I open a second Profile while the first is running

  • File Receiver - Alert Config

    Hello all, I have scenario IDOC to File. Now if the file is not posted at particular location on FTP and in acknowledgement i am getting the error from FTP for file size. But No alerts triggered for this. Is there any reason for this? (Alert Configur

  • JPEG Export

    Hello, I have an image in Aperture. I go to export a thumbnail of this image using the standard export dialog. With all settings as low as possble and metadata unchecked my 200x300pixel jpeg is 80kb. If I export the same image (200x300 pixel) with th

  • Cannot display images after updating SSL certificate

    Hello All, With the changes in SSL certificates (no support for .local domains in public certificates), I had to update the SSL certificate used for our Exchange 2010 Server.  We are a small organization with a single server running Exchange Server 2

  • Purchase order release strategy with multiple characteristics

    Hi All, We have Purchase order release strategy based on the following characteristics: Total Net Order Value Purchasing Organization Release strategy Type a few other custom fields We would like to have PO's with release strategy based on a particul