Jump to content

Tim--97

Members
  • Gesamte Inhalte

    5
  • Registriert seit

  • Letzter Besuch

Alle erstellten Inhalte von Tim--97

  1. Ahja danke, hab das eigentlich in einen SecureString konvertiert, hatte das nur hier abgeändert. Aber ja stimmt :)
  2. [Net.ServicePointManager]::SecurityProtocol Tls12 Im IIS für default website:
  3. Hallo, ich habe folgenden PS Code $username = 'user' $password = 'password' $credential = New-Object System.Management.Automation.PsCredential($username, $password) Connect-ExchangeOnline -credential $credential -Verbose Dieser wirft mir folgenden Fehler: VERBOSE: ExchangeEnvironment : O365Default VERBOSE: ConnectionUri : VERBOSE: AzureADAuthorizationEndpointUri : VERBOSE: DelegatedOrganization : VERBOSE: Prefix : VERBOSE: FormatTypeName :* VERBOSE: CommandName :* VERBOSE: Importing cmdlet 'Add-EXOClientTelemetryWrapper'. VERBOSE: Importing cmdlet 'New-EXOClientTelemetryFilepath'. VERBOSE: Importing cmdlet 'Push-EXOTelemetryRecord'. VERBOSE: Importing cmdlet 'Clear-ActiveToken'. VERBOSE: Importing cmdlet 'New-ExoPSSession'. VERBOSE: Importing cmdlet 'Test-ActiveToken'. New-ExoPSSession : Connecting to remote server outlook.office365.com failed with the following error message : The SSL connection cannot be established. Verify that the service on the remote host is properly configured to listen for HTTPS requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig -transport:https". For more information, see the about_Remote_Troubleshooting Help topic. At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\2.0.5\netFramework\ExchangeOnlineManagement.psm1:475 char:30 + ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [New-ExoPSSession], PSRemotingTransportException + FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Exchange.Management.ExoPowershellSnapin.NewExoP SSession Ist das nun ein Fehler auf meinem Server (Microsoft Windows Server 2016 Standard)? Fehlt ein SSL Zertifikat? Oder was genau ist der Fehler? Vielleicht stehe ich hier auch einfach auf dem Schlauch. Danke und VG
  4. In der Abfrage direkt nicht, aber ist das eventuell mit einer 2. Abfrage möglich? Möchte aber das beide Results zusammengefasst werden (z.B. durch UNION) Weiß aber nicht ob das so in dem Fall möglich ist oder wenn ja wie.
  5. Hallo, ich habe folgende Abfrage SELECT TOP 20 b.ServiceID, count(b.Consumer) AS 'Anzahl Nutzer' FROM Table1 AS b WHERE b.Type = 10 and b.Status = 1 GROUP BY b.ServiceID ORDER BY [Anzahl Nutzer] desc Ich wurde nun gerne aus Table1 aber zusätzlich noch das Attribut "b.Name" anzeigen lassen. Wie kann ich das machen? Wenn ich es im Select mit angebe kommt natürlich der Fehler dass es weder eine Aggregatsfunktion ist noch in Group By steht. Ich möchte beides aber auch nicht, da ich nur nach b.ServiceID gruppieren will. Danke für jede Hilfe.
×
×
  • Neu erstellen...