The NJ PowerShell User Group is having a meetup on Tuesday, April 28th from 6:00 – 8:00 PM.  The first half hour will be for socializing, pizza, and playing pool at our coffee bar. 

Agenda:
                6:00 – 6:30: Pizza and socializing
                6:30 – 7:30: Presentation
                7:30 – 8:00: Q & A

Please note that the Webex meeting will start at 6:00 PM, but the actual presentation won’t start until 6:30. In-Person a ttendees must register, print out their EventBrite ticket, and present it at the door.  Walk-ins will not be permitted.

Eventbrite Eventbrite Registration Page  A Webex meeting link will be emailed to Eventbrite on-line registrants prior to the event. 

Presenter: Jeffrey Hicks (in-person)

Presentation: On the Job: Putting PowerShell Scheduled Jobs to Work for You. So you know how to use PowerShell and how it can make your job easier to do. But why should you have to be sitting at your desk to run a PowerShell script or command? Why not combine the simplicity of a PowerShell script with the ease of use of a scheduled task! PowerShell MVP and author Jeff Hicks will guide you through the process of setting up and using PowerShell scheduled jobs, including a few potential gotchas. By the end of the session you should know enough to be able to schedule the boring right out of your job.

Bio: Jeffery Hicks is an IT veteran with over 25 years of experience, much of it spent as an IT infrastructure consultant specializing in Microsoft server technologies with an emphasis in automation and efficiency. He is a multi-year recipient of the Microsoft MVP Award in Windows PowerShell. He works today as an independent author, trainer and consultant. Jeff has written for numerous online sites and print publications, is a contributing editor at Petri.com (http://www.petri.com), and a frequent speaker at technology conferences and user groups. His latest book is PowerShell In Depth: An Administrator’s Guide 2nd Ed.

Twitter: @JeffHicks

Jeff Hicks   PowerShell In Depth 2nd Ed.

Coffee Bar, Pool Table, and XBox

Coffee Bar

Conference Room

Conference Room

 

 

 

 

 

 

 

 

 

 

 

 

 

NJPowerShell

I am currently working on a web application project in the AWS cloud on Windows Server 2012 with SQL Server 2014 Express Edition.  Being a DBA, I explained to the project manager that Express Edition doesn’t have the SQL Agent feature, but we could automate database backups with PowerShell.

In addition, Amazon has a AWS PowerShell module with many cmdlets that allow you to administer their cloud services. One such cmdlet is the Write-S3Object which will write a file, like a database backup, to the Simple Storage Service (S3).  This appeared to be a great solution for moving database backups from the Compute service to the Storage service.

When I attempted to use the Write-S3Object, it failed because of a FIPS authentication error stating MD5 is not a FIPS compatible algorithm.  Unfortunately the project requires FIPS so turning it off was not an option.

AWS support wrote, “The Write-S3Object cmdlet automatically specifies a MD5 header calculated from the file when it processes the upload request. Amazon S3 checks the data against the provided MD5 value. If they do not match, Amazon S3 returns an error (notice that the MD5 algorithm is not used for encryption purposes, it is only used for validation to ensure data integrity).

The initial solution was to turn off FIPS, write the file, and then turn it back on, but I received the same error.  The final solution (below) was to create two sessions, one to turn off FIPS, the second to write the file and then turn FIPS back on. Apparently PowerShell retains system settings in a session so using one session didn’t work.

function Write-S3Backup{

#Create new session
New-PSSession -ComputerName AWSDEV1

#Disable FIPS
Set-ItemProperty -Path HKLM:\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy -Name Enabled -Value 0x0

#Close Session
Get-PSSession | Remove-PSSession

#Create new session
New-PSSession -ComputerName AWSDEV1

#Write backups to S3
Write-S3Object -BucketName backups -Folder D:\Databases\Backups -SearchPattern *.bak -KeyPrefix Bak_\ -ProfileName JELangdon

#Enable FIPS
Set-ItemProperty -Path HKLM:\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy -Name Enabled -Value 0x1

#Remove Session
Get-PSSession | Remove-PSSession
}

I saw many questions posted on this subject, I  hope this solution helps you out.

Jeffrey Langdon
President NJ PowerShell User Group
Twitter: @NJPowerShell @jlangdon
Senior Database Administrator
Mathematica Policy Research

JLProfilePhoto

 

NJPowerShell

The NJ PowerShell User Group is having a meetup on Thursday, March 5th from 6:00 – 8:00 PM.  The first half hour will be for socializing, pizza, and playing pool at our coffee bar. 

Registration: EventBrite  You must register to attend in person.

Agenda:
                6:00 – 6:30: Pizza and socializing
                6:30 – 7:30: Presentation
                7:30 – 8:00: Q & A

Please note that the Webex meeting will start at 6:00 PM, but the actual presentation won’t start until 6:30In-Person attendees must register, print out their EventBrite ticket, and present it at the door.  Walk-ins will not be permitted.  

Presenter: Adam Bertram

Bio: Adam has been in the IT industry since 1998 and has mostly focused his career on Microsoft technologies.  He’s a child of autoexec.bat and batch menus, graduated to VBscript 10 years ago and made his way to Powershell 3 years ago.  Adam’s passion is breaking complicated problems down and developing creative solutions using Powershell.  Due to his experience with Microsoft’s Configuration Manager he’s been known to write a lot of scripts around software management.

Presentation Description:

Managing Software Installs with Powershell

If you’ve ever tried to script a software install or uninstall to a lot of different applications you’ll know how hard it can be. Every piece of software seems to work in a different manner. This talk will go over a Powershell module I’ve created that allows me to easily find, install and uninstall MSIs, InstallShield and other EXE installers. It also has the ability to perform various cleanup routines and perform many other functions necessary for the software to work as you would expect.

Twitter: @adbertram

  AdamBertram 

Coffee Bar, Pool Table, and XBox

Coffee Bar

Conference Room

Conference Room

 

 

 

 

 

 

 

 

 

 

 

 

NJPowerShell

If you’re lucky, life presents you with seminal moments. Those that get you excited and motivated to make a difference in your life or career.  The NJ PowerShell Users Group was presented with one last night by the hand of Doug Finke (@dfinke), Microsoft PowerShell MVP.   He is the author of PowerShell for Developers and consults for Start-Automating a software services company that specializes in automating Azure, Data, Office 365, Twilio, Window or (almost) anything else.

To give you a little perspective allow me to turn back the clock. In July 2012, four Mathematica Policy Research employees, myself included, created a PowerShell Users Group for our company. Once a month we would present on different PowerShell topics.  In August 2014, we decided to go “public” and create the NJ PowerShell Users Group.

Now that we were public we reached out to the PowerShell community. Don Jones (@concentrateddon) was instrumental in setting us up on PowerShell.org and Mark Schill (@PowerShill) added us to PowerShellGroups.org.  As a whole, if you are looking to start a Users Group the support system in the PowerShell Community is a 110% behind you.

Even more than that, if you are looking for speakers there are wonderful folks who are willing to volunteer their time, which leads me back to Doug Finke.  It was an absolute pleasure to have someone offer their time, give a fantastic presentation, and be humble all the while.

Doug’s presentation was entertaining, informative, and in a seminal way, motivated you to take your skills to the next level.  If you are looking for someone to consult, present, and get your employees excited about PowerShell I highly recommend Doug Finke.

On a side note, the impetus behind Doug volunteering for our event was a “call for speakers” tweet I sent out that was retweeted by Jeffrey Snover which caught Doug’s eye so a thank you is due to Mr. Snover as well.

Organizing a Users Group can be involved, but well worth it. The benefits of meeting people like Doug Finke far out way the time you volunteer.

Jeffrey Langdon
NJ PowerShell Users Group – President
Email: njpowershell@outlook.com
Twitter: @njpowershell  @jlangdon

Jeffrey Langdon

 

NJPowerShell

Please use the below information to log into the user group Webex meeting. The meeting is scheduled at 6:00 PM with an in-person meet and great. The presentation will start at 6:30 PM

Event: NJ PowerShell Users Group Meeting: Presenter Doug Finke

Connect to the Webex meeting by using ONE OPTION below

OPTION 1: To join using Audio WITH On-Line Meeting Tools, click this link: https://mprwebex.mathematica-mpr.com/orion/joinmeeting.do?MK=997027821 This will allow you to share content with the participants in the conference by utilizing the full suite of meeting tools.

**Meeting Access Information (Not needed if using the “Call Back” feature)

Meeting Number: 997 027 821
Meeting Password: This meeting does not require a password.

OPTION 2: To join using Audio Connection ONLY dial one of the access numbers below
(Phone only, no On-line Meeting Tools) 21996
(Mathematica Internal) (609) 945-6996
(U.S. Access Number 1) (202) 554-7500
(U.S. Access Number 2)
Access Code: 997 027 821
Any questions, please email me at njpowershell@outlook.com

Jeffrey Langdon

Twitter: @NJPowerShell
Users Group President – Jeffrey Langdon
Twitter: @jlangdon

Presenter: Doug Finke

Bio: Doug Finke, author of “PowerShell for Developers”, a Microsoft Most Valuable Professional (MVP) for PowerShell and works at Start-Automating, a company specializing in all aspects of PowerShell development, including consulting, training and tool building. Doug has been a developer and author working with numerous technologies. You can catch up with Doug at his blog Development in a Blink at http://dougfinke.com/blog.

Microsoft Most Valuable Professional (MVP) Doug Finke takes us through PowerShell from a developer’s point of view. Doug shows techniques for integrating/debugging PowerShell from and to C# code as well as using PowerShell with a Windows Presentation Foundation (WPF) application. He also addresses using reflection at the command line, object pipelining, and PowerShell’s REPL. Plus, time permitting, Doug will highlight some of the new features in the PowerShell v5 November Preview.

Doug Finke Windows PowerShell for Developers
Twitter:@DFinke

Uncategorized

The NJ PowerShell User Group is having a meetup on Thursday, January 8th from 6:00 – 8:00 PM.  The first half hour will be for socializing, pizza, and playing pool at our coffee bar. 

Agenda:
                6:00 – 6:30: Pizza and socializing
                6:30 – 7:30: Presentation
                7:30 – 8:00: Q & A

Please note that the Webex meeting will start at 6:00 PM, but the actual presentation won’t start until 6:30In-Person attendees must register, print out their EventBrite ticket, and present it at the door.  Walk-ins will not be permitted.  

Presenter: Doug Finke

Bio: Doug Finke, author of “PowerShell for Developers”, a Microsoft Most Valuable Professional (MVP) for PowerShell and works at Start-Automating, a company specializing in all aspects of PowerShell development, including consulting, training and tool building. Doug has been a developer and author working with numerous technologies. You can catch up with Doug at his blog Development in a Blink at http://dougfinke.com/blog.

Microsoft Most Valuable Professional (MVP) Doug Finke takes us through PowerShell from a developer’s point of view. Doug shows techniques for integrating/debugging PowerShell from and to C# code as well as using PowerShell with a Windows Presentation Foundation (WPF) application. He also addresses using reflection at the command line, object pipelining, and PowerShell’s REPL. Plus, time permitting, Doug will highlight some of the new features in the PowerShell v5 November Preview.

Twitter: @DFinke

Doug Finke   Windows PowerShell for Developers

Coffee Bar, Pool Table, and XBox

Coffee Bar

Conference Room

Conference Room

 

 

 

 

 

 

 

 

 

 

 

 

 

NJPowerShell

And so it begins…

Over two years ago I organized a PowerShell group at Mathematica Policy Research with 3 other coworkers that we now jokingly refer to as the Gang of Four – Invoke-GangOfFour.  If you are not familiar with the Gang of Four look up Design Patterns, Gang of Four.   Our User Group is now up to 40+ co-workers that meet once a month over lunch to give presentations and share ideas.

The next natural progression was to take the group public.  I found information on PowerShell.org and PowerShellGroup.org and with the help of Teresa Wilson (@ScriptingWife) Don Jones (@concentrateddon) and Peter Schill (@PowerSchill) our group is well on its way.   Mathematica recently added a state-of-the-art conference room in a new section of our building.  We could easily accommodate 100 people if we grow that large, so I am looking forward to opening up the doors to the public.

Our first public meeting is yet to be determined. The schedule will be the first Thursday of every month from 6:00 – 8:00 PM, I am hoping for either 11/6/2014 or 12/4/2014.   We will be advertising on PowerShell.org, EventBrite, @NJPowerShell, and this website.  Streaming will be done with Webex so if making it to Princeton isn’t feasible feel free to register for the online meeting.

For the latest information, please follow us on Twitter:  @NJPowerShell

Keep moving forward,

Jeff Langdon

njpowershell70

NJPowerShell