-
One of the questions on tonight’s Live Meeting concerned the compatibility between remoting on PowerShell v2 and PowerShell v3 CTP 2 The difference is that v3 uses a WSMAN 3.0 stack but v2 uses 2.0 I used two machines: Windows 2008 R2 SP 1 with PowerShell...
-
This is a little more verbose than the WinNT example function set-expirydate { [ CmdletBinding ( SupportsShouldProcess = $true ) ] param ( [ parameter ( ValueFromPipeline = $true , ValueFromPipelineByPropertyName = $true ) ] [string] $computer , [ parameter...
-
Setting expiry dates on AD accounts is a common occurrence and is well documented. Setting expiry dates on local accounts is also possible $user = [adsi] "WinNT://./Test1, user" $expirydate = ( Get-Date ) . AddDays ( 2 ) $user . Put ( "AccountExpirationDate"...
-
Windows SysInternals Administrators Reference Title: Windows SysInternals Administrators Reference Publisher: Microsoft Press ISBN: 978-0-7356-5672-7 The SysInternals tool set – http://technet.microsoft.com/en-us/sysinternals/default.aspx –...
-
Yesterday I was looking at changing a Network connection id (the name that shows in Network and Sharing Center when you look at the adapters). I kept getting an error – either COM or number of arguments depending if I was running locally or remotely....
-
The Windows 7 and Windows Server 2008 R2 beta versions were released this week. I got the ISOs myself during the week, and finished off today loading R2, Win7 Ultimate and WIn7 Home Premium as VMware virtual machines. But it looks like Microsoft has totally...