April 30, 2008
MCPmag.com News
http://MCPmag.com
MCPmag.com: PowerShell Out-File Cmdlet; Remote Desktop; USB
Security; More
============================================================
===========
THIS ISSUE SPONSORED BY:
- Sanbolic Melio Clustered File System for Microsoft
Hyper-V
http://in
fo.101com.com/default.asp?id=49104
- Techniques to Help You Fight Spam
http://in
fo.101com.com/default.asp?id=49316
- Virtualization in a File Management Infrastructure
http://i
nfo.101com.com/default.aspx?id=49351
============================================================
===========
----------->>>> NOTE: GET THIS NEWSLETTER IN
HTML FORMAT <<<<-----------
You are receiving MCPmag News in text format, but you can
now receive
this newsletter in HTML format. To change formats, go to:
https://newsletters.1105pubs.com/nl/URMGf.do?e=nesstosharedlog.com
----------->>>>
---------------------------------------
<<<<-----------
IN THIS ISSUE:
- Prof. PowerShell: On File
- Redmond Radio: XP SP3 RTMs; Microsoft's Ominous 3Q Report;
More
- IT Cert/Discussions: Remote Screen Size; Outlook Contacts;
More
- Special Offers: Office 2007 Migration; Remote Desktop
Management
============================================================
===========
SPONSOR: Sanbolic Melio Clustered File System for Microsoft
Hyper-V
============================================================
===========
Simplify Windows Server 2008 Hyper-V migrations by providing
a shared
storage LUN to all host servers. All physical hosts have
concurrent
read and write access to all virtual machine images. Virtual
machine
migrations do not require changing the storage connection
between
hosts. Simple and intuitive to install and manage using any
SAN
storage hardware.
Click here for more info! http://i
nfo.101com.com/default.aspx?id=49104
============================================================
===========
PROF. POWERSHELL: On File
By Jeffery Hicks
A common administrative task is to save the results of a
command or
query to a text file. In the CMD shell the traditional
method is to
use the console redirection characters > and >>.
You can still use
these operators in PowerShell:
PS C:> get-process > processes.txt
There's nothing wrong with this technique in PowerShell. I
have yet
to find a situation where it doesn't work.
But PowerShell has a cmdlet called Out-File which offers a
bit more
flexibility. This cmdlet should be at the end of your
pipelined
expression:
PS C:> get-process | where {$_.workingset -gt 10mb} |
out-file
LargeProc.txt
Used without any parameters, Out-File will overwrite any
existing
file with the same name. The cmdlet includes an -append
parameter
which will give you the same result as if you had used the
>>
redirection operators.
However, the cmdlet also has a nice feature to keep you from
accidentally overwriting a file. You can use the -NoClobber
parameter:
PS C:> get-process | where {$_.workingset -gt 10mb} |
out-file
LargeProc.txt -noclobber
When you use this parameter, if the file already exists
PowerShell
will display an error message:
Out-File : File C:LargeProc.txt already exists and
NoClobber was
specified.
The cmdlet also supports the -whatIf and -Confirm
parameters. These
are also great "sanity-checkers."
By the way, you don't have to rely on the pipeline to use
Out-File.
You can use its -InputObject parameter which will take the
specified
object and send it to a file:
PS C:> $p = get-process
PS C:> out-file myprocs.txt -input $p
Finally, depending on your situation or the expression,
Out-File
supports several encoding schemes. Use the -Encoding
parameter.
The default is Unicode, but you can choose from ASCII, OEM,
Default, BigEndianUnicode, UTF7, UTF8, and UTF32.
Comment: http://mcpmag.com/columns/article.asp?EditorialsID=2
611#post
Jeffery Hicks, MCSE, MCSA, is a Microsoft PowerShell MVP and
scripting guru for SAPIEN Technologies. Jeff is a 16 year IT
veteran
who has co-authored and written several books, courseware
and
training videos on administrative scripting and automation.
He is
the co-author of Advanced VBScript for Microsoft Windows
Administrators (Microsoft Press) and Windows PowerShell:TFM
(SAPIEN Press). His latest is WSH and VBSCript Core:TFM
(SAPIEN Press).
Check out MCPmag.com's column archive for more savvy tips
and tricks
from Jeff, Greg Shields, Chris Wolf and other frequent
contributors.
http://mcpmag.com/columns/
============================================================
===========
SPONSOR: Techniques to Help You Fight Spam
============================================================
===========
This paper examines the evolution of techniques for fighting
spam,
the need for machine learning, the newest spam attacks and
emerging
threats, and how to fight phish attacks, pornographic and
image-based spam.
Get this paper: Next Generation Solutions for Spam: A
Predictive
Approach. http://in
fo.101com.com/default.asp?id=49316
============================================================
===========
REDMOND RADIO for Week of April 28
Hosted by Michael Domingo
Take a quick listen to what made news last week in the world
of
Redmond and IT:
* Microsoft Releases XP SP3 to Manufacturing
* Live Mesh Unveiled at Web 2.0 Conference
* Microsoft's Third-Quarter Revenue Comes In Flat
* IT Security Segment Continues To Grow
Plus, listen to find out how to enter the weekly Redmond
T-Shirt
Giveaway:
http://mcpmag.com/webcasts/mcpradio/radio.asp?id=289
iTunes/iPodder listeners: Download the show automatically by
pointing
your applet at http://mcpmag.com/rs
s/podcasts/.
Problems listening to the podcast? Write to mdomingo 1105media.com
and describe the problem to get help. We want you to listen
if you
want to hear it!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~
IT/CERT DISCUSSION FORUMS:
Need troubleshooting help? Post your questions to
MCPmag.com's
IT/Certification Discussion Forums, where experts Andy Barkl
and
Andy Goodman, as well as a host of regular members, can
offer
solutions to your most difficult IT dilemmas.
The messages are always free to read, but registration
(which is
also free) is required to post. Go to http://mcpmag.com/forums/
a>
and start posting.
Also check out and post your questions and issues to the new
Virtualization section at
http://mcp
mag.com/forums/default.asp?C=12.
Check out these recent posts:
SHARING PROBLEM: I have two PCs and the first PC uses Vista
and
the other uses XP. I tried sharing using the same workgroup,
but
it doesn't work. The XP PC can find the Vista PC, but the
Vista
PC can't find the XP PC. What do I need to solve this
problem?
Comment: htt
p://mcpmag.com/forums/forum_posts.asp?tid=4374
FULL SCREEN FOR DOS APP IN REMOTE DESKTOP: I have this old
MS-DOS
program that when I run it locally on my Windows 2003
server, I
can change the screen size to full screen (Alt+Enter). When
I do
a remote connection to the server and run the program, if I
do
Alt+Enter I get this error:
The video device failed to initialize for fullscreen mode.
What can I do to be able to run this program in full mode
when
using it through a remote connection?
Comment: htt
p://mcpmag.com/forums/forum_posts.asp?tid=4377
ADDING GROUP REMOTELY WITH USER PRIVILEGE: Would anyone
knows how
to add domain group to local administrators group using
administrator privilege on the remote PC running restricted
user privilege? Here is my command:
net localgroup groupname admingroup /add
This has worked fine in administrator privilege, so how do I
deploy this command using admin right on workstations?
Comment: htt
p://mcpmag.com/forums/forum_posts.asp?tid=4376
OUTLOOK EXPRESS UPDATE TO OUTLOOK: I am using Windows XP
Hhome,
which came loaded on my e-machine. This XP version has
Outlook
Express and my new phone contact list will not sync with
this
product. I have also tried a copy of Microsoft Office 97
which
contained an earlier version of Outlook and this version
would
not sync.
What would be my best bet at this point? Download a copy of
Outlook from somewhere and hope that it will work with
Windows
XP Home or completely switch my OS for one that includes
Outlook.
Should I look at Vista? Not so sure that I want to do that!
Has anyone had this problem in the past and if so what was
the
cheapest fix?
Comment: htt
p://mcpmag.com/forums/forum_posts.asp?tid=4375
PASSWORD DISABLE UBS PORTS: I'm looking for a way to disable
USB Ports in Windows XP SP 2, unless a password is entered
or
authenticated user can access the ports. I can disable the
ports
in Device manager, but I want to have security on the ports
so
authenticated user can use them and unauthenticated user
cannot
use the port(s) for anything like a flash drive.
Comment: htt
p://mcpmag.com/forums/forum_posts.asp?tid=4372
Want to join the discussion? Go to http://mcpmag.com/forums/
a> and
start posting.
============================================================
===========
SPONSOR: Virtualization in a File Management Infrastructure
============================================================
===========
Learn how businesses are successfully using file area
networks to
reduce the costs and complexity of managing their rapidly
growing
volumes of file data. You'll also find out about the
critical role
of virtualization in an effective file management
infrastructure.
Register for this Webcast today.
http://i
nfo.101com.com/default.aspx?id=49351
============================================================
===========
SPECIAL OFFERS FOR MCPMAG.COM READERS:
** White Paper: "Migration to the 2007 Microsoft Office
System:
A Roadmap for Success"
This white paper examines the issues presented and best
practices for
migration to the 2007 Microsoft Office system.
Now in the Tech Library!
ht
tp://mcpmag.com/techlibrary/resources.asp?id=476
** Webcast: "Extending the Reach of Desktop Management
to...Everywhere!"
In this free webcast, Greg Shields will talk about the
problems of
remote management outside the LAN and how today's needs can
be met
with technologies like Intel's VPro and the Kaseya
Management System.
On-Demand Webcast -- Watch it Today!
http://i
nfo.101com.com/default.aspx?id=48403
** Discounts on Windows 2008/Books at Amazon.com
Now that Windows Server 2008 is available, there are gobs of
resources to hlep you deploy at Amazon.com. Check out
"Introducing
Windows Server 2008" http://tinyurl.com/3ca5k9
a> by Mitch Tulloch and
the Microsoft Windows Server Team (Microsoft Press) and
"Windows
Server 2008 Unleashed" http://tinyurl.com/3ca5k9
a> from Rand Morimoto
et al. (Sams). Dozens more at deep discount at Amazon.com.
You can also order Windows Server 2008 Standard Edition with
5 CALs
http://tinyurl.com/3yk9qx
a> along with the Windows Server 2008
Resource Kit http://tinyurl.com/2l7w7m
a> , both at less than retail.
More Windows Server 2008 resources at Amazon.com.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~
FREE MAGAZINE OFFER
Sign up today for a free yearly subscription to Redmond
magazine!
Each issue brings you hands-on problem solving advice,
tactical tips,
real-world reviews, news analysis and strategic insights.
Start or
continue your FREE subscription now!
https://subscribe.1105pubs.com/sub/MI?WP=N
EWFREE&TC=1&P=enews1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~
FREE NEWSLETTERS
We cover Enterprise Windows news, certification, security
updates,
SQL, Java, SOA, virtualization and more. To review the
entire
list and subscribe, click here:
https://newsletters.1105pubs.com/nl/URMG.do?pc=R07NL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~
CONTACTING MCPMAG.COM:
NEWSLETTER FEEDBACK: Michael Domingo, Editor,
michaeld mcpmag.com
ADVERTISERS -- Want to sponsor this newsletter? Contact
Matt Morollo at mmorollo 1105media.com
Microsoft Certified Professional Magazine, MCPmag.com
Redmond Media Group
16261 Laguna Canyon Road, Suite 130
Irvine, CA 92618-3608
Phone 949-265-1520
Fax 949-265-1528
Newsletter problems: RED 1105service.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~
UNSUBSCRIBE OR CHANGE E-MAIL ADDRESS:
https://newsletters.1105pubs.com/nl/URMGf.do?e=nesstosharedlog.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~
To review our Privacy Policy, visit our Web site at
http://www.1105
media.com/privacy.aspx
Copyright 2008 1105 Media, Inc. MCPmag.com News may only be
redistributed in its unedited form. Written permission from
the
editor must be obtained to reprint the information contained
within
this newsletter. mdomingo 1105media.com
|