Management

Subscribe to Blog via Email

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

Join 785 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

List files containing keywords to a csv file

Here you find the powershell script which were very useful for me.

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

This script creates a csv file, containing a search result of all the selected keywords

Selected keywords here : ‘*keyword*’ and ‘file*log’

Get-ChildItem c:\ -Recurse

Read more… List files containing keywords to a csv file

Export users from one OU to csv

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

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

Export all users from the OU Users to C:\Scripts\users.csv

Get-ADUser -Filter * -SearchBase “OU=Users,OU=Netherlands,DC=Domain,DC=LOCAL” | Select-Object -Property SamAccountName | Sort-Object -Property SamAccountName | export-CSV C:\Scripts\users.csv

Read more… Export users from one OU to csv

Clear all event logs of multiple servers at once

Here you find the powershell script which were very useful for me.

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

This script enable’s you to clear all the standard event logs of multiple servers at once.

Prerequisites :

Make sure you have a c:\scripts\computers.csv file

Read more… Clear all event logs of multiple servers at once

List files greater than 100 MB to a csv file

Here you find the powershell script which were very useful for me.

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

This script creates a csv file, containing all the files on c:\ larger than 100 MB and save the result to c:\scripts\reports\larger-100MB.csv

Get-ChildItem c:\ -Recurse

Read more… List files greater than 100 MB to a csv file

Use Powershell to create a Computer restore point

Here you find the powershell script which were very useful for me.

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

Start powershell as an administrator :

Checkpoint-Computer –description “Computer restore point”

How to block programs by using Group policy

The article describes how to block programs by group policy

First create a new policy

In this new policy go to : Computer policy => Policies => Windows settings => security settings => ‘Software Restriction Policies’

The first time no policy is defined, so there is an error

Read more… How to block programs by using Group policy

How to check disk space of multiple windows 2008 servers and convert to HTML report

This article describes how to use a disk usage script, on multiple windows 2008 servers with the use of Windows Powershell.

Download the script here

Unzip the file and place het in the module directory : C:\Windows\System32\WindowsPowerShell\v1.0\Modules

Check the available modules : Get-Module –ListAvailable

Import the

Read more… How to check disk space of multiple windows 2008 servers and convert to HTML report

How to install Exchange Server 2007 SP3 on a computer that is running Windows SBS 2008

the Start button

http://support.microsoft.com/kb/982423

How to install Exchange Server 2007 SP3 on a computer that is running Windows SBS 2008

If Microsoft Forefront Security for Exchange Server is installed on the computer… If Microsoft Forefront Security for Exchange Server is installed on the computer, you must first disable the Forefront Client

Read more… How to install Exchange Server 2007 SP3 on a computer that is running Windows SBS 2008