Connect Windows Server 2012 R2 to NFS Shares

http://www.serverlab.ca/tutorials/windows/storage-file-systems/connect-windows-server-2012-r2-nfs-shares/ Overview Out of the box, a Windows Server 2012 and Windows 8 cannot connect to NFS-based shares from your Linux environment by default. Although, they both include a feature that when enable does allow them to. Microsoft likes to trumpet that 90% of servers deployed in enterprise environments run Windows Server. But that still […]

How to configure FTP server in Windows 2012 R2

http://stackingtech.com/2014/03/13/how-to-configure-ftp-server-in-windows-2012-r2/ Configure FTP server in Windows 2012 R2 using IIS version 8.5” Introduction I was asked to create a Windows 2012 FTP site for the company I work for. Even there are too many free third-party tools like FileZilla that provide a quick and easy way to stand up a FTP server, many times these good tools […]

IIS 7 SSL Certificate CSR Creation

https://www.digicert.com/csr-creation-microsoft-iis-7.htm If you already have your SSL Certificate and just need to install it, see IIS 7 SSL Certificate Installation. How to generate a CSR in Microsoft IIS 7 New: Use the DigiCertUtil to create your CSR and automatically install the certificate on any Windows machine. If you have any questions and would like expert help with your […]

Install IIS 7 from CMD

http://www.zerrouki.com/powershell-ways-to-install-iis7-x/ Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;WAS-WindowsActivationService;WAS-ProcessModel

List Inactive Computer Accounts in Active Directory

https://gallery.technet.microsoft.com/scriptcenter/6b8163d1-5fae-43b5-a664-a2d1f6e1e2da Description: List all computer accounts not active for xxx days.   DO NOT RUN THIS AS AN AUTO PURGE!  Pink slips are NOT fun to receive. Use it as a report to get a view of POTENTIAL dead garbage. # Uses Quest Active Roles  # Free to download http://www.quest.com/powershell/activeroles-server.aspx  #  # Special Thanks to Mladen Milunovic for his comments that improved the Script!  #  # List all computers that have been  # Inactive in “Active Directory”(Boy THERE’S a play on words!)  # for a specified Number of Days  #   # New version exports the Data to a CSV file and removes limit  # on number of Computers listed (default is 1000)  #   $COMPAREDATE=GET-DATE  #  # DO NOT RUN THIS IN PRODUCTION. TEST IT FIRST and use it as  # a REFERENCE tool.   AUTO PURGING OF COMPUTER ACCOUNTS is  […]

Delete/Archiver files older than x-days – Cleanup Script

https://gallery.technet.microsoft.com/scriptcenter/Delete-files-older-than-x-13b29c09 Script to delete files older than x-days. The script is built to be used as a scheduled task, it automatically generates a log file based on the copy location and the current date/time. There are various levels of logging available. Or use simple Robocopy to archiver Old files tO USB HDD @echo off setlocal […]

Remote Desktop Services login history

http://serverfault.com/questions/479048/remote-desktop-services-login-history Q: Is it possible to generate a report of past user logins to a Windows Server 2008 Remote Desktop Services server? The closest Event Viewer logs I can find are under Application and Services Logs –> Microsoft –> Windows –> TerminalServices-RemoteConnectionManager. These logs are good, however you cannot display the user account for each […]