Category : Windows

Get the memory usage of a process, grouped, so you get the total. Example; chrome, always have one process per page, use this to get the total of memory used by all of them. $Processes = get-process chrome,iexplore | Group-Object -Property ProcessName foreach($Process in $Processes) { $Obj = New-Object psobject $Obj | Add-Member -MemberType NoteProperty ..

Read more

Fireup your PowerShell ISE, modify to your needs, and run ! Please leave comments, suggestions below ! Import-Module ActiveDirectory # Determine the base OU $Path = ‘OU=Accounting,OU=-Department,OU=Office,DC=MyDomain,DC=net’ # Determine the new path where the groups will be created. Can be different or the same. $NewPath = ‘OU=HR,OU=-Department,OU=Office,DC=MyDomain,DC=net’ # Get all security groups to duplicate. You ..

Read more

1- Click Start, click Run, type cmd.exe, and then press ENTER. 2- Enter this command and then press ENTER: set devmgr_show_nonpresent_devices=1 3- Open Device Manager; Start DEVMGMT.MSC Click View, and then click Show Hidden Devices. Expand the Network Adapters tree. Right-click the dimmed network adapter, and then click ..

Read more

Thanks to all the origninal poster, please visit each link:   Install and configure an Enterprise Root CA http://technet.microsoft.com/en-us/library/cc731183.aspx http://www.vkernel.ro/blog/install-certification-authority-in-windows-server-2008-r2   Install and configure a Subordiante CA: http://technet.microsoft.com/en-us/library/cc772192.aspx   One of the best Complete guide I have found. http://marckean.wordpress.com/2010/07/28/build-an-offline-root-ca-with-a-subordinate-ca/ &nb..

Read more

Open a commande window, and type this: DSQUERY COMPUTER “OU=YUL-User+Computers,OU=YUL,DC=NA,DC=manwin,DC=local” -o rdn -limit 1000 > c:\machines.txt   This will create a text file on your C:\ drive, with a maximum of 1000 machine names it found in AD. Change the -limi parameter to whatever you ne..

Read more