Windows PowerShell errors - powershell-2.0

I am trying to connect to Office 365 using Windows PowerShell 2.0. I can't run the following commands as I get an error:
import-module MSOnline
connect-msolservice
Without the connect cmdlet working, I cannot connect to my Office 365 instance. I've tried this already on two separate computers, and I get the same error in both cases. Once the computer is running Windows XP and the other is running Windows 2008 R2.
Some background. I've installed the PowerShell module available from here:
Microsoft Online Services Module for Windows PowerShell 32-bit
Microsoft Online Services Module for Windows PowerShell 64-bit
I installed SIA (Microsoft Online Services Module for Windows PowerShell) from here:
Microsoft Online Services Sign-In Assistant 32-bit
Microsoft Online Services Sign-In Assistant 64-bit
How can I fix this problem?

If the Import-Module is working it means the cmdlets are imported to PowerShell. Try this one:
Import-Module -MsonlineExtented -Force

Related

BI Publisher Ribbon not appearing in Office 365 64bit

I've office 365 install in my system (64 bit) and my OS is windows 10 Enterprise(64 bit). I've downloaded bi publisher desktop from this location and installed 64 bit version of it using Administrator access.
After installing I can't see any Ribbon 'Bi Publisher' in my Word application. Also, I can't see this add-in in File->Options->Add-in window. I checked all options (Active/Inactive/COM Add-in/Disable Items) but this addin is not there at all.
I searched many blogs where they are suggesting to run below file -
C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\DotNetInstallFiles\TBAddInSetup64.msi
but when I'm trying to run this, it throws an error "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove program on the Control Panel'
Can anybody suggest me how to populate this ribbon in Office 365(64 bit)?
I had the same issue, solved by unistalling (C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\DotNetInstallFiles\TBAddInSetup.msi) in order to install (C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\DotNetInstallFiles\TBAddInSetup64.msi).
I think that the another version without the "64" it's the 32 bits version and in my case, my windows and office are 64 bits so I think that I must have the 64 bits version of that programm.
After all of this, if you don't see the pluging, check it on Windows/Archive/Options/Complements/Manage(Complements COM)/Go
And you should see BIPublisher available for choose
I ran into the same issue. I have separate accounts for development work and administration. I installed with the admin login but the add-in would not run under my developer credentials. Apparently Oracle expects you to only run Word under the same admin-enabled account that was used to install the software. My Desktop Support department had to grant admin to my dev account, install and then drop the admin permissions. So now it's installed and runs under Dev, but the Preview function throws a Java error.
If you are not an administrator on your pc, probably an admin user installed the Add-in. If so, with your user logged in, run: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\DotNetInstallFiles\TBAddUser.exe

C# MVC to IIS windows server 2008

I currently have a publish project from my local IIS which is windows 8 and already working but, my problem is I need to transfer it to our VM which is windows server 2008. I need some guidance or recommendation if I need to install Visual studio as well on the VM to publish it or is there any easy way that can simply copy the publish file from my local to VM windows server 2008.
You can publish from your project from local machine visual studio to remote server(in your case VM) if you have access to that server.
Alternatively manually publishing web project is just compiling in release mode with all dependencies & putting code in some IIS site/virtual directory with required Application pool settings.
Microsoft has very comprehensive documentation:
https://learn.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/

Cannot install OpsHub Visual Studio Online Migration Utility

Installing the opshub migration tool while logged in as user 'Administrator' fails during setup with error message
ops-003: You are not running the installer with appropriate settings! Please verify the user running the installer is an Admin user.
I searched for this error message in google and looked in the Q&A Visual Studio Gallery site for the migration tool but found nothing concerning this error.
I am trying to install the utility on a virtual server logged in as Administrator.
Download version is:
OVSMU-V1.1.0.005
Operating system:
Windows 2008 R2 Datacenter with Service Pack 1 (This is the machine where TFS 2012 is installed).
Thanks for any help.

Desktop Version Quickbooks integration with Windows service

I want to integrate quickbooks with my windows service. Currently I am using quickbooks SDK. Its working with windows application. In windows service it shows "Could not start QuickBooks." Exception.
How to solve this issue
QuickBooks does not support applications running as a Windows Service. The application needs to be running in the context of a user.
Ref: https://help.developer.intuit.com/s/article/Troubleshooting-Could-not-start-QuickBooks

Is it possible to run my local activedirectory powershell module against a remote dc?

I have completed all the prerequisites for getting remote connection etc. Everything is in place. I am logging in from windows 7 with rsat installed. The server is 2008 NOT R2. I can remote in successfully over https, but how do i get my local activedirectorymodule to be run against the remote server?
PowerShell ActiveDirectory module depends on Active Directory Web Services (ADWS). It's ships with Windows 2008 R2 (and latter) but can also be installed on older DCs. The name of the package is Active Directory Management Gateway (ADMG).
In my experience: if you want to use AD module against selected DC/domain, the best option is to create PSDrive that will point to this server/ domain:
New-PSDrive -PSProvider ActiveDirectory -Name MyAD -Root '' -Server YourDC
Once you cd into this drive, any command you will run will target selected DC.

Resources