Powershell can't find modules that worked before

Hi All, I am hoping someone can provide a simple solution to my question. For starters, here is what I am working with:
OS: Windows Server 2012 R2 setup in an RDS farm configuration
Powershell Info:
Name                           Value                                                                                  
PSVersion                      4.0                                                                                    
WSManStackVersion              3.0                                                                                    
SerializationVersion           1.1.0.1                                                                                
CLRVersion                     4.0.30319.34209                                                                        
BuildVersion                   6.3.9600.17400                                                                         
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}                                                                   
PSRemotingProtocolVersion      2.2       
About a week ago I was able to launch powershell, type import-module remotedesktop and press enter so that I could perform various RDS functions in Powershell that cannot be done through the Windows GUI.
Now when I attempt to do so, I get the following:
import-module : Could not load file or assembly 'Microsoft.RemoteDesktopServices.Management.Activities,
Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
the file specified.
At line:1 char:1
+ import-module remotedesktop
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
When I look under C:\Windows\System32\WindowsPowerShell\v1.0\Modules I can see a folder for RemoteDesktop and it contains Powershell scriptmodules. No windows updates were applied to the server and the event logs are clean as a whistle.
My question is simple, what did I do wrong?
Update:
when I open a command prompt window and type
"powershell -importsystemmodules", I am then able to proceed to
import-module remotedesktop from the CMD prompt and perform the functions that I need to do. Not sure why in the world this would suddenly work only under CMD and not Powershell.                 

Hi All, I am hoping someone can provide a simple solution to my question. For starters, here is what I am working with:
OS: Windows Server 2012 R2 setup in an RDS farm configuration
Powershell Info:
Name                           Value                                                                                  
PSVersion                      4.0                                                                                    
WSManStackVersion              3.0                                                                                    
SerializationVersion           1.1.0.1                                                                                
CLRVersion                     4.0.30319.34209                                                                        
BuildVersion                   6.3.9600.17400                                                                         
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}                                                                   
PSRemotingProtocolVersion      2.2       
About a week ago I was able to launch powershell, type import-module remotedesktop and press enter so that I could perform various RDS functions in Powershell that cannot be done through the Windows GUI.
Now when I attempt to do so, I get the following:
import-module : Could not load file or assembly 'Microsoft.RemoteDesktopServices.Management.Activities,
Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
the file specified.
At line:1 char:1
+ import-module remotedesktop
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
When I look under C:\Windows\System32\WindowsPowerShell\v1.0\Modules I can see a folder for RemoteDesktop and it contains Powershell scriptmodules. No windows updates were applied to the server and the event logs are clean as a whistle.
My question is simple, what did I do wrong?

Similar Messages

  • I can't find Buds that work for IPod shuffle third gen./What's wrong with what I have now?

    I own an IPod shuffle third gen. However, the remote buds broke a little while back, and I've been trying to find a good pair online. In the most recent pair I bought, the volume control only works on my IPad 2, not my shuffle. Is this an iPod issue, Ora shoddy ebay earbud issue?

    It looks like there is a CommunicationException while trying
    to talk to the LDAP server. Please check the SocketPermission
    entry in the jmqadmin.policy file to ensure network permission
    to the LDAP server host/port is granted. If the jmqadmin.policy
    file looks OK, I'd suggest to try a simple JNDI example which
    talks to the LDAP server to see if communication to the LDAP
    server is fine by using a similar java.security.policy file
    as jmqadmin.policy (please see JMQ 1.1 QuickStart guide chapter
    4 for more information on security policy files).
    Please note that iMQ 2.0 (formerly named JMQ) has been released

  • Help! I just put a US sim card (i am from Canada) and got a monthly pre paid plan, and when I went to restore the iphone, it didn't work. I can't find backup that i did right before the sim was changed. I really need the info that was there! Please help..

    Help! I just purchased a US sim card/monthly pre-paid plan (i am from Canada) as I am travelling in the states for a month, and when I went to restore the iphone, it didn't work. I can't find backup that i did right before the sim was changed. I really need the info that was there! Please help..

    Hold on,
    Have you talked to your carrier to confirm the unlock?
    What was the procedure you did to unlock the phone?
    Standard unlocking procedure once processed by the carrier:
    Backup in iTunes
    Erase the phone (ignore restore terminology here)
    Plug the phone to the computer and then launch iTunes
    Wait for unlock notification.
    Restore the backup.

  • I have an iMac running OX 10.5.8 I need a portable external harddrive to back it up before updating the software to Yosemite but I can't find anything that doesn't require you to be running at least OX 10.6.  Is there a suitable hard drive?

    I have an iMac running OX 10.5.8
    I need a portable external hard drive to back it up before updating the software to Yosemite but I can't find anything that doesn't require you to be running at least OX 10.6.  Is there a suitable hard drive?  I'm not very technical and wouldn't know how to do any formatting so I want it to be very basic so that I can just plug it in.  500GB should be more than adequate.

    Correct.  When you purchase devices, they would have stated the OS they needed to work, on the box.  This can be overlooked, but it is very important to check when purchasing. 
    You current OS, is so old, that they technology build into the new devices, is not something your OS understands.  It didn't exist when your OS was created, and therefore you need to upgrade the OS to work with the newer technology of these devices.
    10.6 software is not downloadable.  You must purchase a DVD disc.  You can order it from the on-line apple store
    - http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard.

  • My ipod touch 4g isnt letting me download apps now whenever i try to it says cannot connect to itunes, i cant find anything that works, i logged out of my apple account and tried to log back in but it wont let me! Can anyone help me

    My ipod touch 4g isnt letting me download apps now whenever i try to it says cannot connect to itunes, i cant find anything that works, i logged out of my apple account and tried to log back in but it wont let me! Can anyone help me

    Likely Apple problem
    iTunes Store - 20% of users are affected
    Users are unable to make purchases.
    http://www.apple.com/support/systemstatus/

  • How can I find photos that are not assigned to any collection?

    Hi !
    I'm using LR 5.7.1 on a Mac.
    When I've retouched raw pictures with PS CC (and do not need the PSD file any longer) I export the PSD (that is in my catalog) as JPG and let it add to my catalog automatically. After that I delete the PSD file. That works fine.
    But .... the new JPG file is not assigned to any collection. That's no problem unless I forget to do it manually after that export (and import).
    That brings me to my question.
    How can I find photos that are not assigned to any collection?
    I tried it with a smart collection after I found nothing suitable in library filter. The search criteria I tried are Source -> Collection with any of the conditions. One with an empty value field, then with just a space and so on.
    Has anybody a good hint for me?
    Thomas

    You can also add numbers if you have collections that don't use alphabet characters.

  • I saved an iMovie to DVD and now I can't find the original working files in iMovie Project library to make additional edits. What happened to the files? Thx!

    I saved an iMovie to DVD and now I can't find the original working files in iMovie Project library to make additional edits. What happened to the files? Thx!

    Did you do the moving of the image file in the Finder or do you have a reference library as asked by Larry? In either case moving the files is a recipe for disaster as you've found out. You must either move the files back to their original locations or try to get those photos back into iPhoto as follows:
    1 - Find the folder you moved the files into and COPY it to the Desktop.
    2 - in iPhoto delete the photos that you're having the problems with as you normally would even though you can't see see them. Also delete all the photos that are in the folder you moved the other files into.
    3 - drag the folder on the Desktop into iPhoto to import them as one event. If you get a duplicate warning I'd let it import the duplicate and use Duplicate Annihilator to find them so you can cull out the duplicate you don't want.
    Other than that you might have to start over from scratch as follows:
    Creating a new library while preserving the Events from the original library.
    1 - Move the existing library folder to the desktop
    2 - Open the library package like this.
    3 - Launch iPhoto and, when asked, select the option to create a new library.
    4 - Drag the Originals folder from the iPhoto Library on the desktop into the open iPhoto window.
    OT

  • How do i reset my security questions? I can't find anything that will let me change them

    I need to reset my security questions but i can't find anything that says reset questions here.

    The reset link will only show if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account. If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple in your country to get the questions reset - which will normally be by phone as they need to confirm your id and that it's your account.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

  • How can we find out that the Z table is adjusted or not???

    Dear Friends,
    How can we find out that the Z table is adjusted or not???
    I have activated it but I need to se that the table is adjusted or not? I know we can do it from SE14 but I don't have an authorization ,
    Thnaks,
    Sridhar

    Hi, Thanks for the reply,
    As per ur suggestion of path direction I have checked the table in production and development both.
    In my Z table, I have 2 key fields and for those 2 key fields the primary indexs are created automaticaly and displayed in Developement but in Production there is no indexs are created for those 2 fields.
    Could you please guide me what could be the reason?
    Thanks in advance.
    Regards
    Sridhar

  • I upgraded to 10.8.2 but can't find my notes from before.  The new notes are not in mail and I can add new notes but I can't find my old notes

    I upgraded to 10.8.2 but can't find my Notes from before I upgraded.  The new Notes are not in Mail and I can now add new Notes but I can't find my old Notes.

    First, make sure iCloud is selected as the default account in the Notes settings on the iPad. If it is, sign out of iCloud and sign back in.

  • HT204266 I can't find apps that I know are available what am I doing wrong? I have typed it correctly

    I can't find apps that I know are on the market what am I doing wrong?

    What specific apps are you looking for?
    Not all apps are available for all operating systems, and
    apps that are available in some countries may not be
    available in other countries.

  • I can't find apps that I've just downloaded out of I tunes on my Mac mini

    I can't find apps that have been downloaded on my Mac mini

    When you say you downloaded apps "out of iTunes" that would imply iOS apps for the iPhone or iPad. Those will be found in ~/Music/ITunes/Mobile Applications where ~/ indicates your home folder. You can install them on the iDevice by attaching it to your computer with a USB cable and launching iTunes.
    I you meant you downloaded them from the App Store, those are only for OS X and will be automatically installed in the /Applications folder on the hard drive root.

  • IOS 8 - using Siri but she can't find contacts that I clearly have in my address book. Why? I can find them manually.

    IOS 8 - using Siri but she can't find contacts that I clearly have in my address book. Why? I can find them manually.

    I have this issue also.  I ask Siri to call a contact, it repeats and spells the contact exactly as it is in my contacts, then says it cannot find it.  This happens for multiple contacts...

  • I recently went to an iphone. new to smart phones. told I need to sync iphone. "just go to your itune account and click on sync iphone" i have been told. I can not find anything that says "sync iphone"

    I recently went to an iphone. new to smart phones. told I need to sync iphone. "just go to your intune account and click on sync iphone" i was told. I can not find anything that says "sync iphone".

    http://support.apple.com/kb/HT1351

  • HT1420 Help me find an email address to help with issues on my ipad2 after updating to iOS 6.0. Several apps not working now that worked before updating to 6.0. Can I go back to the older version?

    Updated my Ipad2 to 6.0 and regret it. Several apps no longer work that did before update. Walgreen app for photos stopped working. Had to delete and use iPhone app. Messaging is jacked up and my Direct TV app for finding satellites doesn't work. Can I go back to the older operating system. 6.0 *****!

    Hello Michael.
    Hopefully this support article is what you need:
    https://support.mozilla.com/en-US/kb/Firefox+will+not+start
    In any case, it's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and themes and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.
    If the problem is not disappears when all add-ons are disabled, please tell me, so we can work from there. Please have no fear of following my instructions to the line, as all can be easily undone.
    Also, if you want to use an older version of Firefox, please use Firefox 3.5.11. Only versions 3.5.11 and 3.6.8 are supported, and both contain all the latest security fixes. Using any other version is unsafe and not recommended.

Maybe you are looking for