Here is a quick way to configure a group policy for windows 8 clients to login directly to desktop skipping the tiles:
Make a new Group Policy Object (With a name that you can resovle to what it does).
Edit the Policy and navigate to the following plae:
Add a new Registry Item
Edit all the properties with the following info:
*key path is: Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage
Thursday, March 27, 2014
CentOS 6.4 Minimal, vmware and hyper-v no eth0
When you install the minimal installtaion of CentOS 6.4 there are no eth0 in ifconfig
Simple and on-time way to do this is to run this command:
# dhclient -v eth0
But if you want a permament solution, edit the eth0 script file:
/etc/sysconfig/network-scripts/ifcfg-eth0
with these parameters:
ONBOOT=yes
BOOTPROTO="dhcp"
and restart the machine, you should have eth0 pulling dhcp address everytime you reboot.
Simple and on-time way to do this is to run this command:
# dhclient -v eth0
But if you want a permament solution, edit the eth0 script file:
/etc/sysconfig/network-scripts/ifcfg-eth0
with these parameters:
ONBOOT=yes
BOOTPROTO="dhcp"
and restart the machine, you should have eth0 pulling dhcp address everytime you reboot.
Simple PowerShell Seconds Progress Timer
Here is a simple powershell seconds timer (to display the seconds remaining) when you want to pause your script using the Start-Sleep command, and display how much time is left:
#time in seconds
$time = 25
while($time -gt 0)
{
$text = " " + ($time % 60) + " seconds left"
Write-Progress "Sleeping For" -status $text
start-sleep -s 1
$time--
}
#time in seconds
$time = 25
while($time -gt 0)
{
$text = " " + ($time % 60) + " seconds left"
Write-Progress "Sleeping For" -status $text
start-sleep -s 1
$time--
}
Subscribe to:
Posts (Atom)