I am following this instruction [Link][1] on Unreal Documentation
But stuck at 2nd point Start the Servers
To prepare for the Signalling Server, start by opening PowerShell as
Administrator and running
SignallingWebServer\platform_scripts\cmd\setup.ps1.
In Power Shell I m getting error
PS C:\Windows\system32> SignallingWebServer\platform_scripts\cmd\setup.ps1
SignallingWebServer\platform_scripts\cmd\setup.ps1 : The module 'SignallingWebServer' could not be loaded. For more
information, run 'Import-Module SignallingWebServer'.
At line:1 char:1
+ SignallingWebServer\platform_scripts\cmd\setup.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (SignallingWebSe...s\cmd\setup.ps1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoLoadModule
I want to pixel streaming the unreal engine project to veiw in web browser
[1]: https://docs.unrealengine.com/5.0/en-US/getting-started-with-pixel-streaming-in-unreal-engine/
Related
I'm trying to figure out the command to rebuild clusters according to the manifest, ie. the equivalent to the tray icon menu entry: Reset Local Cluster.
I run the command I've found as a user who is a member of the Local Administrators, but I get some No Access (Ingen tilgang)
PS C:\Users\caec> C:\"Program Files"\"Microsoft SDKs"\"Service Fabric"\ClusterSetup\DevClusterSetup.ps1 -PathToClusterDataRoot c:\SfDevCluster\data -PathToClusterLogRoot c:\SfDevCluster\log -auto
Removing cluster configuration...
Opening TraceWriter FabricDeployer, path c:\SfDevCluster\log\Traces\FabricDeployer-638106697980303321.trace
Closing TraceWriter FabricDeployer, path c:\SfDevCluster\log\Traces\FabricDeployer-638106697980303321.trace
Cleaning existing certificates...
Certificates removed.
Stopping all logman sessions...
Cleaning log and data folder...
c:\SfDevCluster\data\_App\_Node_1\INFODO~1.API\INFODO~1.0\mscordbi.dll - Ingen tilgang.
c:\SfDevCluster\data\_App\_Node_3\INFODO~1.API\INFODO~1.0\mscordbi.dll - Ingen tilgang.
Using Cluster Data Root: c:\SfDevCluster\data
Using Cluster Log Root: c:\SfDevCluster\log
c:\SfDevCluster\data\_App\_Node_1\INFODO~1.API\INFODO~1.0\mscordbi.dll - Ingen tilgang.
c:\SfDevCluster\data\_App\_Node_3\INFODO~1.API\INFODO~1.0\mscordbi.dll - Ingen tilgang.
EnsureDirectoryCleaned : Cannot clean up c:\SfDevCluster\data fully as references are likely being held to items in it. Please remove those and retr
y.
At C:\Program Files\Microsoft SDKs\Service Fabric\Tools\Scripts\ClusterSetupUtilities.psm1:525 char:5
+ EnsureDirectoryCleaned $clusterDataRoot
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,EnsureDirectoryCleaned
WARNING: Hints: Is some other process holding on to references?
ScriptHalted
Stop-Transcript : An error occurred stopping transcription: The host is not currently transcribing.
At C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup\DevClusterSetup.ps1:54 char:5
+ Stop-Transcript
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Stop-Transcript], PSInvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.StopTranscriptCommand
I had a devenv process running, so it had a lock on some files;)
Easing back into Windows after a 3-4 year MacOS hiatus. Powershell has come a long way but I am running into some errors I can't figure out here.
Every article I see on installing the newer PowerCLI is rather simple. Use a package manager to download/install it and off you run. Not for me, I'm getting the following error when trying to run Install-Module -Name VMware.PowerCLI:
PackageManagement\Install-Package : Unable to find dependent module(s) (VMware.VimAutomation.Cis.Core)
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.0.4\PSModule.psm1:9307 char:21
+ ... $null = PackageManagement\Install-Package #PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (VMware.VimAutomation.Cis.Core:String) [Install-Package], Exception
+ FullyQualifiedErrorId : UnableToFindDependencyPackage,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
I have tried this on two Windows machines and even with Powershell Core on a Mac. Same issue every time. What am I missing and/or doing wrong?
These statements:
[Environment]::Is64BitProcess
[Reflection.Assembly]::LoadFile("C:\MvxAPI\MvxSockx64.dll")
Generate:
True
Exception calling "LoadFile" with "1" argument(s): The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
At C:\GitRepo\PowerShellScripts\ApiDllTest.ps1:11 char:1
+ [Reflection.Assembly]::LoadFile("C:\MvxAPI\MvxSockx64.dll")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : BadImageFormatException
From a PowerShell program I've written, I am trying to send transactions to the ERP system (Infor's M3) via a DLL for APIs. The DLL is provided by the manufacture. Since I am not a system admin but just a nerd supporting the ERP system, I'm clueless as to what I'm doing and have gotten this far with Google but can't get any further. Your suggestions will be greatly appreciated.
Anyone tried installing neo4j version 3 in windows as a service? I tired neo4j community version 3.1.0 and 3.2.0 alpha. I am getting following error when try to start the service.
Invoke-Neo4j : Failed to start service 'Neo4j Graph Database - neo4j (neo4j)'. At line:1 char:211 + ... t.psd1'; Exit (Invoke-Neo4j start) + ~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4j
Was able to run as a windows service by running this script with nssm.
powershell.exe -Command "Import-Module C:\Neo4j\bin\Neo4j-Management.psd1; Invoke-Neo4j console"
I was facing the same issue and got resolved in this way:
you have to run your PowerShell as admin:
set NEO4J_HOME D:\neo4j-community-3.3.0 {Change it to your installation directory}
Go to your installation directory:
./bin/neo4j.bat install-service {when you are starting your server for the first time}
./bin/neo4j.bat start
Screen shot of my powershell
I wrote a script to take an AD user, disable the user, remove the user from group memberships and move the user to an OU. I originally wrote this on our Windows 2008 R2 DC (I know, bad idea) and I wanted to run the script locally on my Win 7 SP1 machine. It has the AD role installed as stated in this article (http://blogs.msdn.com/b/rkramesh/archive/2012/01/17/how-to-add-active-directory-module-in-powershell-in-windows-7.aspx)
I ran on both the DC and my Win7 machine $PSVersionTable and they are exactly the same. I can run ADSIEDIT.msc on the Win 7 machine. The error is occurring when doing an AD user lookup. See error output below:
Here is my script: https://github.com/nocode99/powershell/blob/master/UserDisableGroupRemoval.ps1
Property 'filter' cannot be found on this object; make sure it exists and is settable.
At C:\Admin\test.ps1:23 char:12
+ $ADsearch. <<<< filter = "(&(objectClass=user)(sAMAccountName=$user))"
+ CategoryInfo : InvalidOperation: (filter:String) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
You cannot call a method on a null-valued expression.
At C:\Admin\test.ps1:24 char:32
+ $ADfind = $ADsearch.findOne <<<< ()
+ CategoryInfo : InvalidOperation: (findOne:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Any ideas? The ActiveDirectory module imports with no issues and I want my users to run this locally on their machine rather than the DC.
Looks like I needed to include a filter before the lookup and added:
$adsearch = [adsisearcher]""
though I'm not sure why this works without the filter on AD server itself.