I placed my order for a Raspberry Pi last night. Now to think of a cool project to use it on (I'm thinking controlling underbench lighting)
If you find this article useful please leave me a comment or click on an ad to show your support.
Thursday, September 26, 2013
Woo.. Raspberry Pi
Labels:
Raspberry Pi
Wednesday, September 25, 2013
Powershell: Ping List of Computers and Export the results to CSV
This script will ping a list of computers and then output the results into CSV.
If you find this article useful please leave me a comment or click on an ad to show your support.
Get-Content c:\test\computers.txt | ForEach-Object
{
if(Test-Connection -ComputerName $_ -Quiet -Count 1) {
New-Object -TypeName PSCustomObject -Property @{
ComputerName = $_
'Ping Status' = 'Ok'
}
}
else
{
New-Object -TypeName PSCustomObject -Property @{
ComputerName = $_
'Ping Status' = 'Failed'
}
}
} | Export-Csv -Path c:\test\PingStatus.csv -NoTypeInformation
If you find this article useful please leave me a comment or click on an ad to show your support.
Labels:
How to
,
Ping
,
Powershell
,
Script
Onenote code formatting
ATTN: Microsoft Office Team. Please put code highlighting into the next version of Onenote.. it's pretty much the only thing stopping me from using Onenote as dedicated code snippet database.
I see that a 3rd Party tool is available for this but it should be availble inside the product
http://www.onenotegem.com/2/post/2013/01/onenote-insert-highlight-syntax-source-code.html
If you find this article useful please leave me a comment or click on an ad to show your support.
I see that a 3rd Party tool is available for this but it should be availble inside the product
http://www.onenotegem.com/2/post/2013/01/onenote-insert-highlight-syntax-source-code.html
If you find this article useful please leave me a comment or click on an ad to show your support.
Labels:
Office
,
Onenote
,
Suggestion
Tuesday, September 24, 2013
Surface 2 top model costs AU$2,039, Australian pricing and availability details | techAU
Surface 2 top model costs AU$2,039, Australian pricing and availability details | techAU: "Surface 2 top model costs AU$2,039, Australian pricing and availability details"
'via Blog this'
If you find this article useful please leave me a comment or click on an ad to show your support.
'via Blog this'
If you find this article useful please leave me a comment or click on an ad to show your support.
Monday, September 23, 2013
Citrix Forums : Receiver 4 USB Power Issues ...
Just keep an eye for this issue.. if you install v14.0.0.91 of Citrix Receiver on XP you may find that the electrical current rating for your USB ports dropping from 500ma to 100ma. This is not enough current to run anything beyond a USB keyboard.
There is an updated version of the c:\windows\system32\drivers\ctxusbm.sys floating around that fixes the issue on XP devices. Contact your citrix support to obtain the updated file. We replaced the file and rebooted the issue is fixed on XP devices.
Citrix Forums : Receiver 4 USB Power Issues ...:
'via Blog this'
If you find this article useful please leave me a comment or click on an ad to show your support.
There is an updated version of the c:\windows\system32\drivers\ctxusbm.sys floating around that fixes the issue on XP devices. Contact your citrix support to obtain the updated file. We replaced the file and rebooted the issue is fixed on XP devices.
Citrix Forums : Receiver 4 USB Power Issues ...:
'via Blog this'
If you find this article useful please leave me a comment or click on an ad to show your support.
Thursday, September 19, 2013
Powershell: Restart service on a list of computers
#Gets a list of machines and then restarts the specified service on each computer.
#Get list of computers
$Computers = Get-Content C:\myscript\serverlist2.txt
#what service
$service = "spooler"
#Function to create object
function OutData($computer,$service,$Object) {
$out = New-Object psobject
$out | add-member -type noteproperty -name Computer $computer
$out | add-member -type noteproperty -name Service $service
$out | add-member -type noteproperty -name Result $Object
$out
}
#create empty variable
$result = @()
#main
foreach ($computer in $computers)
{
if (Test-Connection -ComputerName $computer -Quiet -count 1)
{
$Object = "Restarted $($service) service"
Restart-Service -InputObject $(Get-Service -Computer $computer -Name $service)
$result += Outdata $computer $service $object
}
else
{
$object = "$($computer) not online"
$result += Outdata $computer $service $object
}
}
#export the results
$result | Export-Csv C:\myscript\RestartServiceResults.csv -NoTypeInformation
$Result
If you find this article useful please leave me a comment or click on an ad to show your support.
Labels:
Powershell
,
Restart-Service
,
Script
Wednesday, September 11, 2013
Petition | The Liberal Party of Australia: Reconsider your plan for a 'FTTN' NBN in favour of a superior 'FTTH' NBN | Change.org
Sign this if you care about the FTTH NBN.
Petition | The Liberal Party of Australia: Reconsider your plan for a 'FTTN' NBN in favour of a superior 'FTTH' NBN | Change.org:
'via Blog this'
If you find this article useful please leave me a comment or click on an ad to show your support.
Petition | The Liberal Party of Australia: Reconsider your plan for a 'FTTN' NBN in favour of a superior 'FTTH' NBN | Change.org:
'via Blog this'
If you find this article useful please leave me a comment or click on an ad to show your support.
Subscribe to:
Posts
(
Atom
)