Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Initial Checkin #1

Merged
merged 1 commit into from
Aug 4, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>OfficeDevPnPPowershellCommands15</id>
<version>1.3.0.0</version>
<title>OfficeDev PnP PowerShell Cmdlets for SharePoint On-Premises</title>
<authors>Erwin van Hunen</authors>
<licenseUrl>https://github.com/OfficeDev/PnP/blob/master/README.md</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>Office Dev PnP PowerShell Cmdlets for SharePoint On-Premises. Includes the latest client side assemblies.</description>
</metadata>
</package>
Binary file not shown.
3 changes: 3 additions & 0 deletions Chocolatey/OfficeDevPnPCmdlets15/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$name = "officedevpnppowershellcommands15"
$url = "https://github.com/OfficeDev/PnP/blob/master/Binaries/PowerShell.Commands/PnPPowerShellCommands15.msi?raw=true"
Install-ChocolateyPackage $name 'msi' '/quiet' $url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$name = "officedevpnppowershellcommands15"
Uninstall-ChocolateyPackage $name 'msi' "https://github.com/OfficeDev/PnP/blob/master/Binaries/PowerShell.Commands/PnPPowerShellCommands15.msi?raw=true /qn"
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>OfficeDevPnPPowershellCommands16</id>
<version>1.3.0.0</version>
<title>OfficeDev PnP PowerShell Cmdlets for Office 365</title>
<authors>Erwin van Hunen</authors>
<licenseUrl>https://github.com/OfficeDev/PnP/blob/master/README.md</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>Office Dev PnP PowerShell Cmdlets for Office 365. Includes the latest client side assemblies.</description>
</metadata>
</package>
3 changes: 3 additions & 0 deletions Chocolatey/OfficeDevPnPCmdlets16/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$name = "officedevpnppowershellcommands16"
$url = "https://github.com/OfficeDev/PnP/blob/master/Binaries/PowerShell.Commands/PnPPowerShellCommands16.msi?raw=true"
Install-ChocolateyPackage $name 'msi' '/quiet' $url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$name = "officedevpnppowershellcommands16"
Uninstall-ChocolateyPackage $name 'msi' "https://github.com/OfficeDev/PnP/blob/master/Binaries/PowerShell.Commands/PnPPowerShellCommands16.msi?raw=true /qn"
6 changes: 6 additions & 0 deletions CmdletHelpGenerator/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
44 changes: 44 additions & 0 deletions CmdletHelpGenerator/CmdletInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OfficeDevPnP.PowerShell.CmdletHelpGenerator
{
public class CmdletInfo
{
public string Verb { get; set; }
public string Noun { get; set; }

public string Description { get; set; }

public string DetailedDescription { get; set; }

public List<CmdletParameterInfo> Parameters { get; set; }

public string Version { get; set; }

public string Copyright { get; set; }

public List<CmdletSyntax> Syntaxes { get; set; }

public string FullCommand
{
get
{
return string.Format("{0}-{1}", Verb, Noun);
}
}

public string Category { get; set; }

public CmdletInfo(string verb, string noun)
{
Verb = verb;
Noun = noun;
Parameters = new List<CmdletParameterInfo>();
Syntaxes = new List<CmdletSyntax>();
}
}
}
21 changes: 21 additions & 0 deletions CmdletHelpGenerator/CmdletParameterInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OfficeDevPnP.PowerShell.CmdletHelpGenerator
{
public class CmdletParameterInfo
{
public string Name { get; set; }
public string Type { get; set; }
public string Description { get; set; }

public bool Required { get; set; }

public string ParameterSetName { get; set; }

public int Position { get; set; }
}
}
15 changes: 15 additions & 0 deletions CmdletHelpGenerator/CmdletSyntax.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System.Collections.Generic;

namespace OfficeDevPnP.PowerShell.CmdletHelpGenerator
{
public class CmdletSyntax
{
public string ParameterSetName { get; set; }
public List<CmdletParameterInfo> Parameters { get; set; }

public CmdletSyntax()
{
Parameters = new List<CmdletParameterInfo>();
}
}
}
131 changes: 131 additions & 0 deletions CmdletHelpGenerator/OfficeDevPnP.PowerShell.CmdletHelpGenerator.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B53C2D73-E46B-47E1-BB80-C2A363A53FB3}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OfficeDevPnP.PowerShell.CmdletHelpGenerator</RootNamespace>
<AssemblyName>OfficeDevPnP.PowerShell.CmdletHelpGenerator</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
</SccProjectName>
<SccLocalPath>
</SccLocalPath>
<SccAuxPath>
</SccAuxPath>
<SccProvider>
</SccProvider>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug15|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug15\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release15|AnyCPU'">
<OutputPath>bin\Release15\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CmdletInfo.cs" />
<Compile Include="CmdletParameterInfo.cs" />
<Compile Include="CmdletSyntax.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\HelpAttributes\OfficeDevPnP.PowerShell.CmdletHelpAttributes.csproj">
<Project>{fdd50bbd-ae78-4b10-9549-0566686719ab}</Project>
<Name>OfficeDevPnP.PowerShell.CmdletHelpAttributes</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory />
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>
</StartArguments>
</PropertyGroup>
</Project>
Loading