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

Commit 152922a

Browse files
committed
June 2020 release
1 parent 79b6427 commit 152922a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Commands/Web/GetAvailableLanguage.cs

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
using Microsoft.SharePoint.Client;
1+
#if !SP2013 && !SP2016
2+
3+
using Microsoft.SharePoint.Client;
24
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
35
using System;
46
using System.Linq.Expressions;
@@ -10,7 +12,7 @@ namespace SharePointPnP.PowerShell.Commands
1012
[Cmdlet(VerbsCommon.Get, "PnPAvailableLanguage")]
1113
[CmdletHelp("Returns the available languages on the current web",
1214
Category = CmdletHelpCategory.Webs,
13-
SupportedPlatform = CmdletSupportedPlatform.All)]
15+
SupportedPlatform = CmdletSupportedPlatform.Online | CmdletSupportedPlatform.SP2019)]
1416
[CmdletExample(
1517
Code = @"PS:> Get-PnPAvailableLanguage",
1618
Remarks = "This will return the available languages in the current web",
@@ -46,3 +48,4 @@ protected override void ExecuteCmdlet()
4648
}
4749
}
4850
}
51+
#endif

0 commit comments

Comments
 (0)