Sign in
|
Join PowerShell.com!
|
Help
Home
PowerTips
Ask the Experts
Forums
Webcasts
Blogs
eBookV2
Script Library
Twitter Grid
Featured Posts
Dreaming in PowerShell
Don Jones
Code MarkUp Tool
Directory
October 2010 - Dreaming in PowerShell
Share
|
Recent Posts
Test-Driving PowerShell v3: How To Install And Run PSv3 BETA
Managing Child Processes
Don't Waste Speed - How To Activate The PowerShell Turbo Mode
Displaying Data in Excel (and why it won't work)
Finding Logged On User (and Writing To Other People's Registry)
Archives
May 2012 (3)
April 2012 (3)
December 2011 (1)
November 2011 (1)
October 2011 (2)
September 2011 (2)
August 2011 (1)
June 2011 (1)
May 2011 (2)
April 2011 (2)
March 2011 (3)
February 2011 (3)
January 2011 (2)
November 2010 (5)
October 2010 (5)
September 2010 (2)
August 2010 (1)
March 2010 (1)
January 2010 (3)
September 2009 (2)
August 2009 (1)
July 2009 (1)
May 2009 (2)
March 2009 (1)
February 2009 (1)
January 2009 (3)
December 2008 (1)
November 2008 (8)
October 2008 (3)
September 2008 (1)
Tags
Audio
COM
Convert
Credential
Get-Shortcut
GetType()
Get-WMIObject
OpenWSMan
Parameters
Password
path
performance
ping
Pipeline
PowerShell
Recurse
RegEx
Regular Expression
Remoting
Split
Tag
taglib-sharp.dll
V2
Video
Windows 7
View more
The blog of Dr. Tobias Weltner - PowerShell MVP
Sort by:
Most Recent
|
Most Viewed
|
Most Commented
Regular Users Running Admin Scripts (Safe)
In Part 1 and Part 2 , we looked at various ways how to embed a password in your scripts so that the script could access privileged things. A typical example would be a regular user that needed to do some admin stuff. The problem of course is that all...
Published
Thu, Oct 28 2010 7:44 PM
by
Tobias
Filed under:
Password
,
scheduled task
,
admin
,
schtasks
,
elevate
Encrypting Passwords in PowerShell (Part 2)
In Part 1 , you learned how to "obfuscate" passwords in your scripts. Obfuscation is not secure because at the end of the day, the user could still retrieve the password. Obfuscation is just a technique to make it harder to obtain the password...
Published
Mon, Oct 25 2010 12:16 PM
by
Tobias
Filed under:
Credential
,
Encrypt
,
Password
,
Access Token
,
Export
,
Import
Encrypting Passwords
In almost every training I give, a question pops up: "How can I have a normal user run elevated processes?" The easy answer to this is: "You can't, unless you hand over an Administrator password to them". Encrypting Passwords ...
Published
Fri, Oct 22 2010 5:09 PM
by
Tobias
Filed under:
Credential
,
Encrypt
,
Security
,
SecureString
,
Password
Finding Related WMI Classes (and Drive Letters)
Recently, I was asked how to find the drive letter when all you knew was a partition or disk index. Hmmm. Accessing Related WMI Classes After some scratching the head, the solution was simple. WMI internally maintains relationships between related classes...
Published
Thu, Oct 21 2010 10:30 PM
by
Tobias
Filed under:
$PSCmdlet
,
Parameters
,
Win32_DiskPartition
,
WMI
,
Win32_LogicalDisk
,
GetRelated
Dynamically Processing Function Parameters
In Part1 and Part2 of this series you learned how to create functions that return rich objects and how to manage your start menu shortcuts with them. You also learned how to hand over results from one function to another one using the PowerShell Pipeline...
Published
Mon, Oct 18 2010 11:58 AM
by
Tobias
Filed under:
Get-Shortcut
,
Shortcut
,
BoundParameters
,
Set-Shortcut
,
$PSCmdlet
,
Parameters
Copyright 2011 PowerShell.com. All rights reserved.