Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 788 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

Win 7-8-2008-2012 : Get-EventLog : The network path was not found. At SomePowershellScript.ps1:1 char:1 [Solved]

This week I had to do some powershell scripting on different servers.

There was one server who reacted not in the same order as the other servers.

 

For example:

Executing the command :

get-eventlog -computername ServerName –list

Returns with the error :

Get-EventLog : The network path was

Read more… Win 7-8-2008-2012 : Get-EventLog : The network path was not found. At SomePowershellScript.ps1:1 char:1 [Solved]

Windows 2008 (R2) : The .adm file is not in a valid format and must be replaced. Details: There are unmatched quotes at line number [SOLVED]

When an adm(x) file is corrupt, or you have copied some files to the wrong directory, you may receive this error message :

Error:

The following errors were encountered:

The .adm file “C:\Windows\inf\WindowsRemoteShell.admx” is not in a valid format and must be replaced. Details: There are unmatched quotes at line

Read more… Windows 2008 (R2) : The .adm file is not in a valid format and must be replaced. Details: There are unmatched quotes at line number [SOLVED]

Server 2008 R2 : The operation failed because: The attempt at remote directory server to remove directory was unsuccessful. “Access is denied.” [SOLVED]

When trying to demote a Domain controller with DCPROMO, you may receive this error

Error:

Network Credentials

The operation failed because: The attempt at remote directory server <Servername> to remove directory <servername to remove> was unsuccessful. “Access is denied.”

Click Next

Optional select “Reboot on completion”

Error

Read more… Server 2008 R2 : The operation failed because: The attempt at remote directory server to remove directory was unsuccessful. “Access is denied.” [SOLVED]

HOW TO: Create a software list in powershell on server 2008 (R2) + 2012 (R2)

This week I had to compare software on multiple Remote Desktop Servers.

To do this quicly I wrote this little Powershell script, to create a CSV file of the software, in order to compare the lists.

 

You can create a list by means of:

Get-WmiObject -class win32_product

 

Creating

Read more… HOW TO: Create a software list in powershell on server 2008 (R2) + 2012 (R2)

How to : Start Windows Powershell ISE as an administrator

Off course you can start a program as an administrator bij right clicking the program, and select ‘Run as administrator’.

But sometimes this is not possible, for example bij using a script.

In this case you can use the Start-Process command in Powershell ( This does not work in cmd

Read more… How to : Start Windows Powershell ISE as an administrator

Server 2008 R2 : Active Directory Best Practices Analyzer Error : Strict replication consistency is not enabled on the domain controller FQDN. [SOLVED]

Problem:

When using the Active Directory Best Practices Analyzer, you may receive an error:

Title:

Strict replication consistency should be enabled on all domain controllers in this forest

Severity:

Warning

Date:

4/2/2014 3:22:03 PM

Category:

Configuration

Issue:

Strict replication consistency is not enabled on the domain controller DC21.DOMAIN.NL.

Read more… Server 2008 R2 : Active Directory Best Practices Analyzer Error : Strict replication consistency is not enabled on the domain controller FQDN. [SOLVED]

Server 2008/2012 (R2) : What is Access-based Enumeration ?

According to Microsoft :

http://technet.microsoft.com/en-us/library/cc784710(v=ws.10).aspx

What does Access-based Enumeration do?

Access-based Enumeration filters the list of available files and folders on a server to include only those that the requesting

Read more… Server 2008/2012 (R2) : What is Access-based Enumeration ?

SBS2011: The SharePoint Health Analyzer detected an error. Drives are running out of free space.Available drive space is less than twice the value of physical memory. [Solved]

One of the common SBS 2008 and SBS 2011 errors is the “Running out of diskspace” error.

This error occurs even if you do not use sharepoint.

 

When you are sure that there’s no problem with the drive space, like a large amount of memory available in

Read more… SBS2011: The SharePoint Health Analyzer detected an error. Drives are running out of free space.Available drive space is less than twice the value of physical memory. [Solved]

How To : Use PowerShell to set your Internet Explorer homepage.

Use this PowerShell script to set the homepage of your Internet Explorer to http://www.vspbreda.nl .

$HomeURL = “http://www.vspbreda.nl” set-ItemProperty -Path ‘HKCU:\Software\Microsoft\Internet Explorer\main’ -Name “Start Page” -Value $HomeURL

Outlook cannot contact Autodiscover from Office 365 environment, during a transition from a SBS 2008 server.

Here you find a powershell script which was very useful for me.

All scripts are free of charge, use them at your own risk :

When you have a network with an Exchange 2007 server or higher, sometimes your Outlook is not able to connect to the autodiscover settings, as

Read more… Outlook cannot contact Autodiscover from Office 365 environment, during a transition from a SBS 2008 server.