New to PowerShell? Try powergui!
MWahl | July 13, 2010 | 10:59 pmSimilar to the Exchange Management console it shows you the powershell script that was used!
Here is the site, and there is a tab to download.
http://powergui.org/index.jspa
Dont forget to check out the PowerGUI Library for more add-ons
http://powergui.org/kbcategory.jspa?categoryID=21
Tutorials Page
http://powergui.org/tutorials.jspa
Scan file shares on your network and view their security settings to close security holes with ShareEnum
MWahl | July 13, 2010 | 10:42 pmView The Security of an NTFS Folder
MWahl | July 13, 2010 | 9:18 pmOften times this isnt a big deal if there are only a few people or groups, but when there are a lot of people and groups its nice to use the two commands to pump out the info,
To List the security of a folder
From a command prompt type the following,
C:\>cacls "D:\Business Development"
D:\Business Development BUILTIN\Administrators:(OI)(CI)F
DomainName.COM\UserName:(OI)(CI)C
To List the security of a folder and all sub content.
From a command prompt type the following,
C:\>cacls "D:\Business Development" /T
If you need a list of the members of a Security Group
From a command prompt on a Domain Controller type the following,
C:\>net group "Business Development" >Report.txt
SharePoint Services 3.0 Site With Forms Based Authentication
MWahl | July 5, 2010 | 1:40 pm
Setup Secure FTP (SFTP) With OpenSSH on Windows Server
MWahl | June 5, 2010 | 6:18 pmWindows Server 2008 IIS7 does have support for SFTP unlike IIS6. We are running Windows Server 2003 so IIS7 was not an option. I looked at Filezilla, the setup does not work work well with enterprise level firewalls, etc.
The most simplistic solution was to just use OpenSSH.
1. First open port 22 to the secure Secure FTP Server ip address and apply any needed access lists or static mappings.
2. Download OpenSSH from http://sshwindows.sourceforge.net/download/ and download the binary installer. Once the software is downloaded, click on the executable file to launch the installer.
3. The installation wizard should come up, select next, accept the license agreement, install the Client and Server components, select the destination path.
4. From your server computer Management Console create a user, and a group. add the user to the group. The User name could be sftp and the group be secftp.
5. Create a directory you want your sftp users to access. I created my on the following path:
E:\sftp\sftp
Make sure the OpenSSH service is not running under services. if it is, stop it, otherwise leave it stopped
6. go to RUN and type Regedit and click OK.
navigate to the following registry folder: HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin expand the Mounts v2 folder, and click on /home right click the native file, and click on modify, and add the path of the directory you want your users to have access to. mine is E:\sftp\sftp
7. Create a file named group and passwrd at the following location and don’t put any extension on them.
C:\Program Files\OpenSSH\etc
8. Click on RUN and type CMD and then OK.
type the following command on the command prompt:
cd C:\Program Files\OpenSSH\bin
once you switch to the BIN directory type the following commands:
mkgroup -l >> ..\etc\group
and then:
mkpasswd -l -u username >> ..\etc\passwd
on the username option, add the username we created above.
9. From the command prompt, execute the following command to start the service
net start opensshd
10. One last thing to do is modify the passwd file C:\Program Files\OpenSSH\etc
Create home directories for your user
- In the passwd file, you will notice that the user’s home directory is set as /home/username. Change the location by editing the passwd file with notepad or any other text editor. Only edit the second last entry (/home/username), by replacing it with any directory that you wish to act as that user’s home directory,
using the following syntax:- /cygdrive/c/path_to_the_folder
Below is an example of my passwd file entry.
FTP:unused_by_nt/2000/xp:1003:513:SFTP
Testing,U-2K3FS01\SFTP,S-1-5-21-3837532754-3053635440-2016409431-1003:/cygdrive/c/sftp
:/bin/switch
A few iPhone Tips and Tricks
MWahl | June 5, 2010 | 6:10 pm1. If you wish to go to the top of any screen without scrolling up just tap anywhere on the status bar.
2, Want a screen shot, just press the home and sleep buttons at the same time while you have the desired screen loaded. The screen shots show up in your camera roll as regular pics.
3. While in any screen you can shake to undo and redo
Must Have Tools For All IT Professionals
MWahl | May 11, 2010 | 10:23 pmVirtual CloneDrive
http://www.slysoft.com/en/download.html
FileZilla
ImgBurn
VirtualBox
Sysinternals Suite
http://download.sysinternals.com/Files/SysinternalsSuite.zip
HWiNFO32
http://www.hwinfo.com/download32.html
CCleaner
http://www.piriform.com/ccleaner/download/standard
Recuva
BlackBerry Enterprise Server Express is Free!!
MWahl | May 11, 2010 | 9:52 pmI wrote an article a while back about BES 5.0.1 as we upgraded our BES 4.6 server after installing a new email server with MS Exchange 2010. However, today i learned that there is a free version of BES 5.0.1. I was thinking the express version would probably be very limited, but to my surprise it offers almost all of same functiionality as the enterprise version. The express version is really designed for small to mid-size organizations and provides the same security, management, and push technologies of BlackBerry Enterprise Server. The only cost outside the blackberry software is the microsoft server(s) to run it.
I have come accross admins who use Express to manage personal BlackBerry phones that employees purchase and bring to work, while letting BES handle the corporate BlackBerry devices that are deployed in large numbers.
I should also note that both versions have the new BlackBerry Administration Service, which is a Web-based console. This is where most of the user, device and server management and configuration happen.
Installing SugarCRM
MWahl | May 9, 2010 | 10:47 pmI installed SugarCRM on Windows Server 2003 IIS 6 for evaluation. http://www.sugarcrm.com/crm/download/sugar-suite.html
http://www.sugarcrm.com/wiki/index.php?title=Main_Page
The install was pretty easy, it was a typical web site install envolving PHP and MySQL. Configure CGI was a struggle though. To install and configure CGI follow these steps.
1.Download the CGI extension
http://www.iis.net/download/fastcgi
2. Add an extension mapping
php
C:\WINDOWS\system32\inetsrv\fcgiext.dll
limit it verbs to GET,HEAD,POST
3. Next open a command prompt and issue this command..
C:\WINDOWS\system32\inetsrv>cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:\PHP\php-cgi.exe"
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
INI successfully written.
C:\WINDOWS\system32\inetsrv>
4. If you open C:\WINDOWS\system32\inetsrv\fcgiext.ini , you will see an entry at the bottom for
[Types]
php=PHP
[PHP]
ExePath=C:\PHP\php-cgi.exe
RequestTimeout=120
ActivityTimeout=120


lopsa




