To show the number of mail in a Postfix queue, you can use this command:
postqueue -p | tail -n 1 | cut -d' ' -f5
To show the number of mail in a Postfix queue, you can use this command:
postqueue -p | tail -n 1 | cut -d' ' -f5
Vores brune labrador retriever Nougat, har fået hvalpe. 6 hanner og 3 tæver. Vi har i den forbindelse oprettet en hjemmeside til dem, den finder du her: Labrador hvalpe
When you want to resize the disk in Windows 7, server 2008 or server 2008 R2, you might get this warning:
Error: there is not enough space available on the disk(s) to complete this operation
This could be fixed by the following guides:
You can use this command to get the list of the number of file in current directory
ls -1 ./ | wc -l
Or
ls -1 /var/log | wc -l
to get the number of files in /var/log
Steps for chaning Collation:
/QUIET – Run it as a sillent installation
/action – We are running rebuilddatabase to change the server collation
/Instancename – withs instance do you want to change collation on.
/SAPPW -SA password for this instance
/SQLSYSADMINACCOUNTS – An administration account, normally the run you are running this from. The user should be administrator of the SQL Server
/SQLCollation – withs collation should you change to.
SQL Query:
SELECT @@version as 'server version'
Select SERVERPROPERTY('COLLATION') as 'server collation'
Get-Mailbox -id KennethDalbjerg | select-expand EmailAddresses | %{$_.SmtpAddress}
Today i have to create a GPO with a shortcut to an already mapped network drive.
Both the Shortcut and the mapped Network drive is created by GPO.
The mapped network drive mapped fine, but the shortcut wasen’t created at all. The Event viewer toll me that that the shortcut could not be created because the file was not found.
Instead of using File System object, i created a URL Shortcut, still to the exe file. This works, but now the icon was a Internet Explorer Icon.
In GPO you can customize the icon, under icon file path
Today i have installed the programs PDF Creator on a Terminal servers, Windows 2008 R2. But it will only run under the administrators account.
Some search for errors lead me to that it could be that PDF Creator creates is temp files under <temp>\PDFCreator, but my user have redirected folders, so it was under a network shares. It seams that PDFCreator have some troubles with this, so I change the temp location in the registry database, and its now working for my users.
You need to change:
KEY_CURRENT_USER\Software\PDFCreator\Program\PrinterTemppath
“PrinterTemppath”=”<temp>PDFCreator\”
Changed the value to “C:\PDFCreator\”
Change also:
HKEY_USERS\.DEFAULT\Software\PDFCreator\Program\
“PrinterTemppath”=”<temp>PDFCreator\
Changed the value to “C:\PDFCreator\”
Then create a folder on c:\ with the name of PDFCreator, and set security so that all yours terminal servers users have modify access to this folders.
For personale use only, use this programs:
http://kennethdalbjerg.dk/wp-content/uploads/2012/02/siw-setup.exe
With this programs you can get the Serial key from you installed Windows 7 or Office 2010:
http://kennethdalbjerg.dk/wp-content/uploads/2012/02/produkey.zip
The product is code by:
ProduKey v1.53
Copyright (c) 2005 – 2011 Nir Sofer
Web Site: http://www.nirsoft.net/utils/product_cd_key_viewer.html
It can get the serial for this products:
* Microsoft Windows 98/ME
* Microsoft Windows 2000
* Microsoft Windows NT
* Microsoft Windows XP
* Microsoft Windows Vista
* Microsoft Windows Server 2003
* Microsoft Windows 7 (Works only for some of the Windows 7 versions,
see the known problems section)
* Microsoft Office 2000 (Only ProductID is displayed)
* Microsoft Office 2003
* Microsoft Office 2007
* Microsoft Office 2010
* Microsoft SQL Server 2000
* Microsoft SQL Server 2005
* Microsoft Exchange Server 2000
* Microsoft Exchange Server 2003
Known Problems
==============
* When running produkey.exe, Some Antivirus programs displays an alert
and/or block you from running it. Click here to read more about false
alerts in Antivirus programs
* For some Windows 7/2008 licenses, the product key is not stored in
the Registry, and thus ProduKey cannot retrieve them. In these cases,
ProduKey will display ‘Product key was not found’ in the product key
column.
* If you bought your computer with installed operating system, you may
find the Windows product key appeared in ProduKey utility is different
from the product key on your Windows CD. This problem is mostly
reported with Dell computers.
* From unknown reason, the product key of Visual Stuido .NET is written
in the Registry as Office XP product…
* In old versions of Office (Office 2000 and below), the ‘Product Key’
value is not available.