bzzzt!

bzzzt!

Occasionally I Have Been Accused of Being a Software Engineer

  • Home
  • About

PowerShell Snippet #2 Check and Install a Module

By Richie Lee

2017-12-02

Hello!

Today’s PowerShell Snippet will check if a module is installed, and if it isn’t will install it. Finally it will import the module.

Tags

  • aboutme10
  • analysisservices37
  • build23
  • builds20
  • cumulativeupdates14
  • cumulativeupdates210
  • database10
  • databasedevelopment11
  • deploy17
  • independentlearning19
  • microsoft31
  • msbuild14
  • opinion10
  • powershell58
  • sql49
  • sqlpackage11
  • sqlserver103
  • sqlserver201220
  • sqlserver201432
  • ssas29
  • ssdt17
  • storedprocedures9
  • technology19
  • tfs201213
  • tsql57
  • unknownsunknowns12
  • unknownunknowns35
  • visualstudio201213

Recent Musings

    ARM Deployments and Nested Templates: A Real Hot Mess
    Dynamic Annotations for ADF Pipelines
    Mocking With Pester
    T-SQLTuesday #110: Automate All The Things
    New Year New Me 2019 Musings
    Christmas 2018 Musings
    November 2018 Musings
    Enable and Disable ADF Triggers

Archive

  • 2019-023
  • 2019-012
  • 2018-121
  • 2018-112
  • 2018-101
  • 2018-091
  • 2018-082
  • 2018-073
  • 2018-064
  • 2018-056
  • 2018-043
  • 2018-033
  • 2018-023
  • 2018-015
  • 2017-1212
  • 2017-116
  • 2017-106
  • 2017-0911
  • 2017-082
  • 2017-074
  • 2017-062
  • 2017-054
  • 2017-045
  • 2017-037
  • 2017-023
  • 2017-012
  • 2016-123
  • 2016-116
  • 2016-1010
  • 2016-095
  • 2016-087
  • 2016-0710
  • 2016-069
  • 2016-051
  • 2016-044
  • 2016-036
  • 2016-026
  • 2016-012
  • 2015-124
  • 2015-119
  • 2015-106
  • 2015-094
  • 2015-084
  • 2015-073
  • 2015-064
  • 2015-053
  • 2015-045
  • 2015-032
  • 2015-022
  • 2015-013
  • 2014-123
  • 2014-1112
  • 2014-1013
  • 2014-0914
  • 2014-081
  • 2014-077
  • 2014-0610
  • 2014-053
  • 2014-043
  • 2014-039
  • 2014-0216
  • 2014-013
  • 2013-125
  • 2013-118
  • 2013-108
  • 2013-0910
  • 2013-0810
  • 2013-079
  • 2013-0613
  • 2013-059
  • 2013-0410
  • 2013-039
  • 2013-024
  • 2013-0112
  • 2012-125
aboutme analysisservices bids build builds cumulativeupdates cumulativeupdates2 dacfx database databasedevelopment deploy deployment independentlearning microsoft msbuild opinion powershell sixofthebest softwaredevelopmentlifecycle sql sql2 sqlagent sqlpackage sqlserver sqlserver2012 sqlserver2014 ssas ssdt storedprocedures technology testing tfs tfs2012 tsql unknownsunknowns unknownunknowns visualstudio2012 vsts wix wixwednesday

Richie Lee is a man of many hats, both literally and figuratively. When either not at work nor running to and from work he can be found at home in Carshalton, probably playing Pokémon Go.

Powered by hugo and Theme by hugo-pacman-theme © 2019 bzzzt!