Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit bf951e1

Browse files
Update PSIoT to Microsoft.PowerShell.IoT docs
1 parent 081edf3 commit bf951e1

File tree

13 files changed

+440
-359
lines changed

13 files changed

+440
-359
lines changed

.gitignore

+304-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,304 @@
1-
bin
2-
obj
3-
out
4-
TestsResults.xml
1+
2+
# Created by https://www.gitignore.io/api/visualstudio
3+
4+
### VisualStudio ###
5+
## Ignore Visual Studio temporary files, build results, and
6+
## files generated by popular Visual Studio add-ons.
7+
##
8+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
9+
10+
# User-specific files
11+
*.suo
12+
*.user
13+
*.userosscache
14+
*.sln.docstates
15+
16+
# User-specific files (MonoDevelop/Xamarin Studio)
17+
*.userprefs
18+
19+
# Build results
20+
[Dd]ebug/
21+
[Dd]ebugPublic/
22+
[Rr]elease/
23+
[Rr]eleases/
24+
x64/
25+
x86/
26+
bld/
27+
[Bb]in/
28+
[Oo]bj/
29+
[Ll]og/
30+
31+
# Visual Studio 2015 cache/options directory
32+
.vs/
33+
# Uncomment if you have tasks that create the project's static files in wwwroot
34+
#wwwroot/
35+
36+
# MSTest test Results
37+
[Tt]est[Rr]esult*/
38+
[Bb]uild[Ll]og.*
39+
40+
# NUNIT
41+
*.VisualState.xml
42+
TestResult.xml
43+
TestsResults.xml
44+
45+
# Build Results of an ATL Project
46+
[Dd]ebugPS/
47+
[Rr]eleasePS/
48+
dlldata.c
49+
50+
# .NET Core
51+
project.lock.json
52+
project.fragment.lock.json
53+
artifacts/
54+
**/Properties/launchSettings.json
55+
56+
*_i.c
57+
*_p.c
58+
*_i.h
59+
*.ilk
60+
*.meta
61+
*.obj
62+
*.pch
63+
*.pdb
64+
*.pgc
65+
*.pgd
66+
*.rsp
67+
*.sbr
68+
*.tlb
69+
*.tli
70+
*.tlh
71+
*.tmp
72+
*.tmp_proj
73+
*.log
74+
*.vspscc
75+
*.vssscc
76+
.builds
77+
*.pidb
78+
*.svclog
79+
*.scc
80+
81+
# Chutzpah Test files
82+
_Chutzpah*
83+
84+
# Visual C++ cache files
85+
ipch/
86+
*.aps
87+
*.ncb
88+
*.opendb
89+
*.opensdf
90+
*.sdf
91+
*.cachefile
92+
*.VC.db
93+
*.VC.VC.opendb
94+
95+
# Visual Studio profiler
96+
*.psess
97+
*.vsp
98+
*.vspx
99+
*.sap
100+
101+
# TFS 2012 Local Workspace
102+
$tf/
103+
104+
# Guidance Automation Toolkit
105+
*.gpState
106+
107+
# ReSharper is a .NET coding add-in
108+
_ReSharper*/
109+
*.[Rr]e[Ss]harper
110+
*.DotSettings.user
111+
112+
# JustCode is a .NET coding add-in
113+
.JustCode
114+
115+
# TeamCity is a build add-in
116+
_TeamCity*
117+
118+
# DotCover is a Code Coverage Tool
119+
*.dotCover
120+
121+
# Visual Studio code coverage results
122+
*.coverage
123+
*.coveragexml
124+
125+
# NCrunch
126+
_NCrunch_*
127+
.*crunch*.local.xml
128+
nCrunchTemp_*
129+
130+
# MightyMoose
131+
*.mm.*
132+
AutoTest.Net/
133+
134+
# Web workbench (sass)
135+
.sass-cache/
136+
137+
# Installshield output folder
138+
[Ee]xpress/
139+
140+
# DocProject is a documentation generator add-in
141+
DocProject/buildhelp/
142+
DocProject/Help/*.HxT
143+
DocProject/Help/*.HxC
144+
DocProject/Help/*.hhc
145+
DocProject/Help/*.hhk
146+
DocProject/Help/*.hhp
147+
DocProject/Help/Html2
148+
DocProject/Help/html
149+
150+
# Click-Once directory
151+
publish/
152+
153+
# Publish Web Output
154+
*.[Pp]ublish.xml
155+
*.azurePubxml
156+
# TODO: Uncomment the next line to ignore your web deploy settings.
157+
# By default, sensitive information, such as encrypted password
158+
# should be stored in the .pubxml.user file.
159+
#*.pubxml
160+
*.pubxml.user
161+
*.publishproj
162+
163+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
164+
# checkin your Azure Web App publish settings, but sensitive information contained
165+
# in these scripts will be unencrypted
166+
PublishScripts/
167+
168+
# NuGet Packages
169+
*.nupkg
170+
# The packages folder can be ignored because of Package Restore
171+
**/packages/*
172+
# except build/, which is used as an MSBuild target.
173+
!**/packages/build/
174+
# Uncomment if necessary however generally it will be regenerated when needed
175+
#!**/packages/repositories.config
176+
# NuGet v3's project.json files produces more ignorable files
177+
*.nuget.props
178+
*.nuget.targets
179+
180+
# Microsoft Azure Build Output
181+
csx/
182+
*.build.csdef
183+
184+
# Microsoft Azure Emulator
185+
ecf/
186+
rcf/
187+
188+
# Windows Store app package directories and files
189+
AppPackages/
190+
BundleArtifacts/
191+
Package.StoreAssociation.xml
192+
_pkginfo.txt
193+
194+
# Visual Studio cache files
195+
# files ending in .cache can be ignored
196+
*.[Cc]ache
197+
# but keep track of directories ending in .cache
198+
!*.[Cc]ache/
199+
200+
# Others
201+
ClientBin/
202+
~$*
203+
*~
204+
*.dbmdl
205+
*.dbproj.schemaview
206+
*.jfm
207+
*.pfx
208+
*.publishsettings
209+
orleans.codegen.cs
210+
211+
# Since there are multiple workflows, uncomment next line to ignore bower_components
212+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
213+
#bower_components/
214+
215+
# RIA/Silverlight projects
216+
Generated_Code/
217+
218+
# Backup & report files from converting an old project file
219+
# to a newer Visual Studio version. Backup files are not needed,
220+
# because we have git ;-)
221+
_UpgradeReport_Files/
222+
Backup*/
223+
UpgradeLog*.XML
224+
UpgradeLog*.htm
225+
226+
# SQL Server files
227+
*.mdf
228+
*.ldf
229+
*.ndf
230+
231+
# Business Intelligence projects
232+
*.rdl.data
233+
*.bim.layout
234+
*.bim_*.settings
235+
236+
# Microsoft Fakes
237+
FakesAssemblies/
238+
239+
# GhostDoc plugin setting file
240+
*.GhostDoc.xml
241+
242+
# Node.js Tools for Visual Studio
243+
.ntvs_analysis.dat
244+
node_modules/
245+
246+
# Typescript v1 declaration files
247+
typings/
248+
249+
# Visual Studio 6 build log
250+
*.plg
251+
252+
# Visual Studio 6 workspace options file
253+
*.opt
254+
255+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
256+
*.vbw
257+
258+
# Visual Studio LightSwitch build output
259+
**/*.HTMLClient/GeneratedArtifacts
260+
**/*.DesktopClient/GeneratedArtifacts
261+
**/*.DesktopClient/ModelManifest.xml
262+
**/*.Server/GeneratedArtifacts
263+
**/*.Server/ModelManifest.xml
264+
_Pvt_Extensions
265+
266+
# Paket dependency manager
267+
.paket/paket.exe
268+
paket-files/
269+
270+
# FAKE - F# Make
271+
.fake/
272+
273+
# JetBrains Rider
274+
.idea/
275+
*.sln.iml
276+
277+
# CodeRush
278+
.cr/
279+
280+
# Python Tools for Visual Studio (PTVS)
281+
__pycache__/
282+
*.pyc
283+
284+
# Cake - Uncomment if you are using it
285+
# tools/**
286+
# !tools/packages.config
287+
288+
# Telerik's JustMock configuration file
289+
*.jmconfig
290+
291+
# BizTalk build output
292+
*.btp.cs
293+
*.btm.cs
294+
*.odx.cs
295+
*.xsd.cs
296+
297+
### VisualStudio Patch ###
298+
# By default, sensitive information, such as encrypted password
299+
# should be stored in the .pubxml.user file.
300+
301+
302+
# End of https://www.gitignore.io/api/visualstudio
303+
304+
out

Examples/Microsoft.PowerShell.IoT.BME280/Microsoft.PowerShell.IoT.BME280.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
DotNetFrameworkVersion = 4.5
1414
CmdletsToExport = '*'
1515
AliasesToExport = @()
16-
NestedModules=@('PSIoT','Microsoft.PowerShell.IoT.BME280.psm1')
16+
NestedModules=@('Microsoft.PowerShell.IoT','Microsoft.PowerShell.IoT.BME280.psm1')
1717
HelpInfoURI = 'https://go.microsoft.com/fwlink/?LinkId=393254'
1818
}

Examples/Microsoft.PowerShell.IoT.Plant/Microsoft.PowerShell.IoT.Plant.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
DotNetFrameworkVersion = 4.5
1414
CmdletsToExport = '*'
1515
AliasesToExport = @()
16-
NestedModules=@('PSIoT','Microsoft.PowerShell.IoT.Plant.psm1')
16+
NestedModules=@('Microsoft.PowerShell.IoT','Microsoft.PowerShell.IoT.Plant.psm1')
1717
HelpInfoURI = 'https://go.microsoft.com/fwlink/?LinkId=393254'
1818
}

Examples/Microsoft.PowerShell.IoT.SSD1306/Microsoft.PowerShell.IoT.SSD1306.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
DotNetFrameworkVersion = 4.5
1414
CmdletsToExport = '*'
1515
AliasesToExport = @()
16-
NestedModules=@('PSIoT','Microsoft.PowerShell.IoT.SSD1306.psm1')
16+
NestedModules=@('Microsoft.PowerShell.IoT','Microsoft.PowerShell.IoT.SSD1306.psm1')
1717
HelpInfoURI = 'https://go.microsoft.com/fwlink/?LinkId=393254'
1818
}

Move-PSIoTBuild.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ begin {
2020
}
2121

2222
process {
23-
Write-Host "Connecting to $_"
24-
$sessions += New-PSSession -HostName $_ -UserName pi
23+
Write-Host "Connecting to $Ip"
24+
$sessions += New-PSSession -HostName $Ip -UserName pi
2525
}
2626

2727
end {
@@ -33,7 +33,7 @@ end {
3333
$session = $_
3434

3535
# Should compress and decompress
36-
Copy-Item "$PSScriptRoot\out\PSIoT" "/usr/local/share/powershell/Modules/PSIoT" -Recurse -Force -ToSession $session
36+
Copy-Item "$PSScriptRoot\out\Microsoft.PowerShell.IoT" "/usr/local/share/powershell/Modules/Microsoft.PowerShell.IoT" -Recurse -Force -ToSession $session
3737

3838
if ($WithExample) {
3939
$WithExample | ForEach-Object {

0 commit comments

Comments
 (0)