header image

Archive for March, 2010

The ISEpack adds a number of commands to the Add-ons menu in ISE.  The list of additional commands includes Add-ForeachStatement                                 Add-IfStatement Add-InlineHelp                                       Add-IseMenu Add-Parameter                                        Add-PInvoke Add-SwitchStatement                                  Close-AllOpenedFiles Colorize                                             ConvertTo-ShortcutKeyTable Export-FormatView                                    Get-CurrentFunction Get-CurrentOpenedFileToken                           Get-CurrentToken Get-FunctionFromFile                                 Get-ShellVerb Get-TokenFromFile                                    Invoke-Line Move-ToLastGroup                                     Move-ToLastPowerShellTab Move-ToNextGroup                                     Move-ToNextPowerShellTab New-IseScript                                        New-ScriptModuleFromCurrentLocation Push-CurrentFileLocation                             Push-Module Save-IseFileWithAutoName                             Select-AllInFile Select-CurrentText                                   Select-CurrentTextAsCommand Select-CurrentTextAsType                             Select-CurrentTextAsVariable Show-HelpForCurrentSelection                         Show-Member Show-SyntaxForCurrentCommand                         Show-TypeConstructor […]

under: Modules, PowerShellV2

PowerShell pack: ISEpack

Posted by: | March 8, 2010 | No Comment |

The ISEpack adds a number of commands to the Add-ons menu in ISE.  The list of additional commands includes Add-ForeachStatement                    Add-IfStatement                         Add-InlineHelpAdd-IseMenu                             Add-Parameter                           Add-PInvokeAdd-SwitchStatement                     Close-AllOpenedFiles                    ColorizeConvertTo-ShortcutKeyTable              Export-FormatView                       Get-CurrentFunctionGet-CurrentOpenedFileToken              Get-CurrentToken                        Get-FunctionFromFileGet-ShellVerb                           Get-TokenFromFile                       Invoke-LineMove-ToLastGroup                        Move-ToLastPowerShellTab                Move-ToNextGroupMove-ToNextPowerShellTab                New-IseScript                           New-ScriptModuleFromCurrentLocationPush-CurrentFileLocation                Push-Module                             Save-IseFileWithAutoNameSelect-AllInFile                        Select-CurrentText                      Select-CurrentTextAsCommandSelect-CurrentTextAsType                Select-CurrentTextAsVariable            Show-HelpForCurrentSelectionShow-Member                             Show-SyntaxForCurrentCommand            Show-TypeConstructorShow-TypeConstructorForCurrentType      Split-IseFile                           Switch-CommentOrTextSwitch-SelectedCommentOrText how did I generate this list Get-ChildItem -Path (Join-Path […]

under: PowerShell original, PowerShellV2

We have seen how to create and use a stored procedure – but as part of our usage patterns we need to be able to delete stored procedures as well. 001 002 003 004 005 006 007 008 009 010 011 012 013 function Remove-AccessStoredProcedure { # .ExternalHelp Maml-AccessFunctions.XML [CmdletBinding()] param (     [System.Data.OleDb.OleDbConnection]$connection,     [string]$name )     […]

under: PowerShellV2

Advance Warning

Posted by: | March 7, 2010 | No Comment |

The next User group meeting will be a Live Meeting on 20 April 2010. The subject is Modules in PowerShell v2 – details to follow Technorati Tags: PowerShell,user group

under: PowerShell User Group

50% discount extended

Posted by: | March 5, 2010 | No Comment |

  Manning www.manning.com have extended their 50% discount across the weekend as follows: (Today) Friday March 5, 2010: 50% off all MEAPs. Use code dotd0305tw Saturday March 6, 2010: 50% off all print books. Use code dotd0306tw Sunday March 7, 2010: 50% off all ebooks. Use code dotd0307tw Looks like its a good time to […]

under: Books

Elevating now

Posted by: | March 4, 2010 | 1 Comment |

Running Windows 7 with UAC turned on I get an error when trying to access the security log PS> Get-EventLog -LogName Security Get-EventLog : Requested registry access is not allowed. At line:1 char:13 + Get-EventLog <<<<  -LogName Security     + CategoryInfo          : NotSpecified: (:) [Get-EventLog], SecurityException     + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.GetEventLogCommand   OK – not […]

under: PowerShellV2

Manning Special Offer

Posted by: | March 4, 2010 | No Comment |

Manning – the publishers of my book – have a big promotion on Friday 5 March. Go to www.manning.com on Friday and get 50% off any MEAP.   MEAP is Manning Early Access Program – get early access to the book (raw manuscript) and get the full book delivered when its published. Good time to […]

under: Books, PowerShellV2

The PSusertools module contains 4 functions: Get-CurrentUser Get-Everyone Start-ProcessAsAdministrator Test-IsAdministrator   get-currentuser uses System.Security.Principal.WindowsIdentitiy to identify the current user. One oddity is that the group information returns the SID of the group rather than the name.  We need a SID to name translator. Test-IsAdministrator returns true if the user is an administrator. In PowerShell this […]

under: Modules, PowerShellV2, Windows 7

Thank you to the people who attended tonight’s Live Meeting and especially for the feedback. The slides and demo script from tonight’s PowerShell UG meeting can be found here http://cid-43cfa46a74cf3e96.skydrive.live.com/browse.aspx/PowerShell%20User%20Group in the March 2010 folder.   The recording is available from Richard Siddaway has invited you to view a Microsoft Office Live Meeting recording. View […]

under: PowerShell User Group, PowerShellV2, Windows 7

I’ve just published a review of this book http://itknowledgeexchange.techtarget.com/powershell/practical-virtualization-solutions/ Its a good general introduction to the whole virtualisation story with some interesting points to make. Technorati Tags: Books,Virtualisation

under: Books, General, Virtualization

« Newer Posts

Categories