Giter Site home page Giter Site logo

microsoftdocs / windows-powershell-docs Goto Github PK

View Code? Open in Web Editor NEW
427.0 71.0 571.0 84.03 MB

This repo is used to contribute to Windows 10, Windows Server 2016, and MDOP PowerShell module documentation.

License: Creative Commons Attribution 4.0 International

PowerShell 75.00% Dockerfile 25.00%
mvldocs windowsdocs core powershell pubops publiconly hacktoberfest

windows-powershell-docs's Introduction

Windows IT professional documentation

This repository houses the Windows client, Windows Server, and MDOP PowerShell module docs that are written for IT professionals.

Edits to this content are published in the following places:

PowerShell Updatable Help (CabGen) CI Build Status

Build Status

Contributing

We actively merge contributions into this repository via pull request into the main branch. If you are not a Microsoft employee, before you submit a pull request you must sign a Contribution License Agreement to ensure that the community is free to use your submissions. For more information on contributing, read our contributions guide.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

windows-powershell-docs's People

Contributors

andreabarr avatar brianlic-msft avatar dariomws avatar denisebmsft avatar garycentric avatar get-itips avatar kenwith avatar lizap avatar maratmussabekov avatar michaeltlombardi avatar msbemba avatar nschonni avatar pataltimore avatar rdmaclachlan avatar robbiddle avatar robderickson avatar robinharwood avatar sdwheeler avatar skycommand avatar sowjanya365-zz avatar stacyrch140 avatar sukihanabi avatar tiburd avatar timshererwithaquent avatar v-dihans avatar v-raaba avatar velkovb avatar vlg17 avatar x-guardian avatar xelu86 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windows-powershell-docs's Issues

Get-TlsEccCurve documention somewhat sparse

The documentation for the Get-TlsEccCurve cmdlet is virtually non-existent, there is no synopsis, no examples and no clue as to what IT Pros should use this cmdlet for.

Is there some further documentation? If so, I'll happily knock together a P/R to add this information.

Also: other cmdlets in the TLS module are equally as sparse.

Update-Help fails to update 'Whea' module

Windows Server 2016 v1607 Build 14393.2155

PS C:\Users\Administrator> update-help
update-help : Failed to update Help for the module(s) 'Whea' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI
culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command
again.
At line:1 char:1

  • update-help
  •   + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
      + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand
    

Issue with Get-VipHostMapping

Hello,

I've tried this cmdlet on the windows server 2016 OS Version: 10.0.14393 N/A Build 14393, PSVersion 5.1.14393.1480 and get the same values for all VIP entries.
During the investigation, I found that the problem in Get-VipConnectivityInfo.psm1 of HNVDiagnostics module. The $newEntry=$entry.Clone() doesn't work properly and return the copy of the last values for all elements in the hashtable $DIPInterfaceToHos. If we add instead of clone() new function like this one

function NewEntry {
$entry=@{}
$hostInfoEntry=@{}
$hostInfoEntry.Add('Name', "")
$hostInfoEntry.Add('Credentials', [System.Management.Automation.PSCredential]$null)
$entry.Add('PortProfile', "")
$entry.Add('HostInfo', $hostInfoEntry)
$entry
}

and change $newEntry=$entry.clone() to $newEntry=NewEntry in Get-VipHostMapping function, we receive the correct result.

Regards,
Yaroslav

can't remove network printers

remove-printer can't remove printers created with 'add-printer -connectionname \\server\printer'.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Missing and incorrect documentation

The examples for Set-ClusterQuorum use parameters that don't exist, and the parameters that DO exist don't have docs, either on-line or inbox.

Wrong brackets

Hi,

In the EXAMPLE1 the following brackets are used:
Set-AdfsAttributeStore -TargetName "ContosoAttributeStore01" -Configuration @("runmode" = "verbose"; configParaName2 = configParaValueNew)

The following brackets should be used instead:
Set-AdfsAttributeStore -TargetName "ContosoAttributeStore01" -Configuration @{"runmode" = "verbose"; configParaName2 = configParaValueNew}


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Mistake in Add-NetEventPacketCaptureProvider and Set-NetEventPacketCaptureProvider documentation

Documentation:

The CaptureType parameter documentation specifies accepted values that are different from the AcceptedValues in the code example. It also means that the documentation for different values is not provided.

Misspelling in Disable-NetAdapterPowerManagement Example

https://github.com/MicrosoftDocs/windows-powershell-docs/tree-save/master/docset/windows/netadapter/disable-netadapterpowermanagement.md

Original:

Example 2: Disable power management on a specified network adapter using InputObject

PS C:\> $NetAdapter1 = Get-NetAdapter -Name "Ethernet 3"
PS C:\> Disable-NetAdapterPowerMangement -InputObject $NetAdapter1

Expected:

Example 2: Disable power management on a specified network adapter using InputObject

PS C:\> $NetAdapter1 = Get-NetAdapter -Name "Ethernet 3"
PS C:\> Disable-NetAdapterPowerManagement -InputObject $NetAdapter1

Invalid parameter shown in example

Your example for removing a personal session host assignment shows a parameter that does not exist, "PersonalVirtualDesktop"

-PersonalVirtualDesktop "PVD-12"


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Missing details in Synopsis section

Please add information to the SYNOPSIS section:

From Section 3.5 in https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/hyper-converged-solution-using-storage-spaces-direct

This article states that enable-clusterstoragespacesdirect implements various steps:

Step 3.5: Enable Storage Spaces Direct

After creating the cluster, use the Enable-ClusterStorageSpacesDirect PowerShell cmdlet, which will put the storage system into the Storage Spaces Direct mode and do the following automatically:
Create a pool: Creates a single large pool that has a name like "S2D on Cluster1".
Configures the Storage Spaces Direct caches: If there is more than one media (drive) type available for Storage Spaces Direct use, it enables the fastest as cache devices (read and write in most cases)
Tiers: Creates 2 tiers as default tiers. One is called "Capacity" and the other called "Performance". The cmdlet analyzes the devices and configures each tier with the mix of device types and resiliency.

It should be clearly stated what this cmdlet actually does...

Link for CreateNonDADkmContainer.ps1 does not work

In windows-powershell-docs/docset/windows/adfs/install-adfsfarm.md, example 5 and 6 refer to CreateNonDADkmContainer.ps1.

I couldn't find where CreateNonDADkmContainer is documented, and the link on this page is broken - furthermore, formatting is wrong - instead of appearing as an actual link , it's inserted into to the text with missing whitespace.

Clarity updates

You might consider adding a link for the valid rrsandf_plural values, and also describe what the expected outcome will be if the feature is already installed.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Incomplete documentation

Information is incomplete or missing from a large percentage of the articles in the repository.

"As an administrator, it is hard to rely on the documentation when it is incomplete, and very difficult to use any of the functionality in its entirety without sufficient documentation."

-UpdateID notes

You state that GUID is for the update, followed by "GUID uniquely identifies the Group Policy Object (GPO)." What does the software update GUID have to do with group policy??


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Missing DFL

The WS2016 domain mode is missing. It is value 7.

There is no new WS2019 domain mode, for when this doc expands to include later OS


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Update-Help fails for WindowsUpdateProvider

From @dsolodow on February 9, 2018 15:44

update-help : Failed to update Help for the module(s) 'WindowsUpdateProvider' with UI
culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI culture en-US. Make sure the HelpInfoUri property
in the module manifest is valid or check your network connection and then try the command again.
At line:1 char:1

  • update-help
  •   + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
      + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand
    
    

Copied from original issue: MicrosoftDocs/PowerShell-Docs#2117

Documentation error

There appears to be a redundancy in example 2 for the cmdlet:

----------Begin Example 2----------
Example 2: Remove replication groups using a wildcard

PS C:\> Remove-DfsReplicationGroup -GroupName "RG*" -RemoveReplicatedFolders -Domain corp.contoso.com -RemoveReplicatedFolders
Performing this operation will remove the replication group "RG01" and the subscriptions members have to this replication group. Are you sure you want to continue to remove this replication group? [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):

Performing this operation will remove the replication group "RG02" and the subscriptions members have to this replication group. Are you sure you want to continue to remove this replication group? [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):

Performing this operation will remove the replication group "RG03" and the subscriptions members have to this replication group. Are you sure you want to continue to remove this replication group? [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):


This command removes all replication groups that include the pattern RG* in domain corp.contoso.com, even if the groups include replicated folders.

----------End Example 2----------

Notice the parameter -RemoveReplicatedFolders being used twice? This seems to be redundant

Kurt

Separation of multiple hashtables with semicolon?

I believe there is an error in the text. Under the Certificates parameter section, it says:

You can specify more than one operation by using a list separated by semicolons. For example, use the following syntax to add and remove Certificates values:
-Certificates @{Add=value1,value2,...};@{Remove=value3,value4,...}

I cannot understand how this example can be valid. If you specify a separate hashtable for the "Add" action, then a semicolon, the semicolon would terminate the statement. The rest of the line would be read as a separate statement, no?

I would think that one must either:

  • Specify multiple actions in the same hashtable, such as @{"Add"=$certToAdd; "Remove"=$certToRemove} ...or...
  • Specify an array/list of multiple hashtables, separated by commas, such as @{"Add"=$certToAdd},@{"Remove"=$certToRemove}

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Limited documentation on SDN Cmdlets

Most cmdlets have a required Properties field. Using the examples and reverse engineering the sdnexpress scripts allowed me to find out some properties but can we please get documentation about what properties there are for each specific class. thanks

Grant-SmbShareAccess -AccessRight acceptable values are incorrect.

Under PARAMETERS, -AccessRight, the following is incorrect
The acceptable values for this parameter are: Full, Modify, or Read.

Should read:
The acceptable values for this parameter are: Full, Change, or Read.

Using "Modify" results in the following error:
Grant-SmbShareAccess : Cannot process argument transformation on parameter 'AccessRight'. Cannot convert value "Modify" to type "Microsoft.PowerShell.Cmdletization.GeneratedTypes.SmbShare.ShareAccessRight".
Error: "Unable to match the identifier name Modify to a valid enumerator name. Specify one of the following enumerator names and try again:
Full, Change, Read, Custom"

the get-dhcpserverv4reservation command returns the reservation when query the specific client ID when the ID is only leased not reserved

https://github.com/MicrosoftDocs/windows-powershell-docs/blob/master/docset/windows/dhcpserver/get-dhcpserverv4reservation.md

when use
Get-DhcpServerv4Reservation -ScopeId $ScopeId -ComputerName $DHCPServer -ClientId $ClientId
it returns the leased (not reserved) client IP if the ClientID exists and is active in the given scope
There is a workaround = collect all reservations for the given scope and search in the result against ClientID

Update-Help fails for HostNetworkingService

From @dsolodow on February 9, 2018 15:43

update-help : Failed to update Help for the module(s) 'HostNetworkingService' with UI
culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI culture en-US. Make sure the HelpInfoUri property
in the module manifest is valid or check your network connection and then try the command again.
At line:1 char:1

  • update-help
  •   + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
      + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand
    
    

Copied from original issue: MicrosoftDocs/PowerShell-Docs#2116

Edit-NanoServerImage Example1 problem

In the Edit-NanoServerImage Example1 there is a problem: "-MediaPath D:" Edit-NanoServerImage PowerShell method does not have "-MediaPath" option available. Only -BasePath and -TargetPath.

PrintManager and WindowsUpdateProvider module update issue

While running the update-help, i'm getting this error.

`PS C:> Update-Help PrintManagement
Update-Help : Failed to update Help for the module(s) 'PrintManagement' with UI
culture(s) {en-US} : Unable to connect to Help content. The server on which Help content
is stored might not be available. Verify that the server is available, or wait until the
server is back online, and then try the command again.
At line:1 char:1

  • Update-Help PrintManagement
  •   + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
      + FullyQualifiedErrorId : UnableToConnect,Microsoft.PowerShell.Commands.UpdateHelpCo
     mmand
    
    

PS C:> Update-Help WindowsUpdateProvider
Update-Help : Failed to update Help for the module(s) 'WindowsUpdateProvider' with UI
culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI culture en-US. Make
sure the HelpInfoUri property in the module manifest is valid or check your network
connection and then try the command again.
At line:1 char:1

  • Update-Help WindowsUpdateProvider
  •   + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
      + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.
     UpdateHelpCommand`
    

Example is wrong

The example uses the wrong parameter -ScriptDestinationFolder should be -DestinationFolder


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Need link to Output Object Model

The output documentation should include a link to the definition of the output object model, so we can see what properties it has.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Powershell documentation on the TECHNET/Windows IT CENTER is completely flawed

Multiple features are broken and this severely limits usability and general faith in Microsoft as a company.

  • Hyper V cmdlets for Windows 2012R2 have been reference has been removed
  • Links to the appropriate resources redirect to Server 2016 and Windows 10
  • no drops downs to display dependencies on a cmdlet level

There is no "-Credential" parameter in WS2016 RTM

I tried this cmdlet on Windows Server 2016 Datacenter RTM, it doesn't have "-Credential" parameter there. Please check out the source code in "Debug-NetworkControllerConfigurationState.psm1", you'll find it.

Update-Help fails for PrintManagement module

From @dsolodow on February 9, 2018 15:43

update-help : Failed to update Help for the module(s) 'PrintManagement' with UI culture(s) {en-US} : Unable to connect
to Help content. The server on which Help content is stored might not be available. Verify that the server is
available, or wait until the server is back online, and then try the command again.
At line:1 char:1

  • update-help
  •   + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
      + FullyQualifiedErrorId : UnableToConnect,Microsoft.PowerShell.Commands.UpdateHelpCommand
    
    

Copied from original issue: MicrosoftDocs/PowerShell-Docs#2115

Missing cmdlets in TLS module

Checking the documentation on the TLS module, I see there are some missing cmdlets:

Diable-TlsEccCurve
Enable-TlsEccCurve
Get-TlsEccCurve

I am not confident enough in my GIT skills to be able to add documents for these three cmdlets, but am happy to help once they get created.

PKIClient folder/path/module should be PKI

The module that ships within Windows 10 is not called PKIClient, it's called PKI:

C:\Users\Joey> Get-Command -Module PKI

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Cmdlet          Add-CertificateEnrollmentPolicyServer              1.0.0.0    PKI
Cmdlet          Export-Certificate                                 1.0.0.0    PKI
Cmdlet          Export-PfxCertificate                              1.0.0.0    PKI
Cmdlet          Get-Certificate                                    1.0.0.0    PKI
Cmdlet          Get-CertificateAutoEnrollmentPolicy                1.0.0.0    PKI
Cmdlet          Get-CertificateEnrollmentPolicyServer              1.0.0.0    PKI
Cmdlet          Get-CertificateNotificationTask                    1.0.0.0    PKI
Cmdlet          Get-PfxData                                        1.0.0.0    PKI
Cmdlet          Import-Certificate                                 1.0.0.0    PKI
Cmdlet          Import-PfxCertificate                              1.0.0.0    PKI
Cmdlet          New-CertificateNotificationTask                    1.0.0.0    PKI
Cmdlet          New-SelfSignedCertificate                          1.0.0.0    PKI
Cmdlet          Remove-CertificateEnrollmentPolicyServer           1.0.0.0    PKI
Cmdlet          Remove-CertificateNotificationTask                 1.0.0.0    PKI
Cmdlet          Set-CertificateAutoEnrollmentPolicy                1.0.0.0    PKI
Cmdlet          Switch-Certificate                                 1.0.0.0    PKI
Cmdlet          Test-Certificate                                   1.0.0.0    PKI

This is breaking Get-Help -Online for PKI cmdlets:

C:\Users\Joey> Get-Help -Online Get-Certificate -Verbose
VERBOSE: Help URI: http://go.microsoft.com/fwlink/p/?linkid=287528

This fwlink redirects to https://docs.microsoft.com/en-us/powershell/module/pki/get-certificate?view=winserver2012r2-ps while the help is actually located at https://docs.microsoft.com/en-us/powershell/module/pkiclient/get-certificate?view=winserver2012r2-ps

While we could change the fwlinks to point pkiclient instead of pki in the URL, this breaks the pattern of all other modules where the name of the module matches the path.

Furthermore, the module landing page at https://docs.microsoft.com/en-us/powershell/module/pkiclient/?view=winserver2012r2-ps reflects the name of the module as if it was called PKIClient.

Info that you need to run Get-ComputeProcess in an elevated PowerShell is missing

It's not documented that you need to run Get-ComputeProcess in an elevated PowerShell.

Also, an error message when you run it as a standard user is cryptic and unusable:

get-computeprocess : There are no more endpoints available from the endpoint mapper. (Exception from HRESULT: 0x800706D9)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Get-TroubleshootingPack -Answer - Does not create answer file correctly in Server 2016

I am trying to use the -Answer parameter to Get-TroubleshootingPack in Server 2016 to generate an answer file. I am using, in this case, The WindowsUpdateDiagnostic and want to create an answer file that attempts both fixes.

The interactive version of this troubleshooter was very successful in fixing a bunch of WU issues - so I want to automate this for the future!

If I run the pack interactively, I go through a dialog. If I use the Get-TroubleshootingPack and supply the answer file I have two issues: first, the questions asked are NOT the same as when running the troubleshooter interactively and second the generated answer file does not automate fully the checking and I still get prompted.

I reported this (https://social.technet.microsoft.com/Forums/windowsserver/en-US/c930cf4b-d517-4bce-a4dd-75bc637b75f9/problems-using-gettroubleshootingpack?forum=winserverpowershell) and have had one poster unhelpful answers. but his final answer suggests that this stuff is broken.

Is this cmdlet broken in WIndows Server 2016, or is there some magic formula that we need to document to make this feature work?

New-SelfSignedCertificate always includes "Key Usage"

The -KeyUsage parameter indicates the default as None. Later the help indicates thus:
The default value, None, indicates that this cmdlet does not include the KeyUsage extension in the new certificate.

Even if I specify -KeyUsage None, the new certificate has a "Key Usage" extension in the cert with values of "Digital Signature" & "Key Encipherment" regardless. I've also tried specifying None on -KeySpec and -KeyUsageProperty and various combinations, with the same results. You can, however, specify different values for -KeyUsage and it will change to those values, but those will also get the yellow warning sign and propagate to the newly minted certs

After creating a certificate that way as a Root CA, the certificates created and signed with that RootCA inherit the problem.

Here is some code that will demonstrate the difference between the output of MakeCert.exe and New-SelfSignedCertficate:

##MAKECERT example
$RootCA = "Hyper-V Replication Certificate Authority"
$ReplicaServer = "MyServerName-01"
##Create root cert
.\makecert.exe -pe -n "CN=$RootCA" -ss root -sr LocalMachine -sky signature -r ".$RootCA.cer"
##Create new cert using rootCA
.\makecert.exe -pe -n "CN=$ReplicaServer" -ss my -sr LocalMachine -sky exchange -eku 1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2 -in "$RootCA" -is root -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12

Generates a cert with no issues:
image

##New-SelfSignedCertificate example
##Create Root Cert
$RootCA = "Hyper-V Replication Certificate Authority"
$ReplicaServer = "MyServerName-01"
$Cert = New-SelfSignedCertificate -Type Custom
-KeyExportPolicy Exportable -Subject "CN=$RootCA"
-KeySpec Signature -KeyUsage "None"
-KeyUsageProperty All -CertStoreLocation Cert:\LocalMachine\My
-NotAfter (Get-Date -Date "12/31/2039 18:59:59")
##Note the above certificate would need to be moved to the Root store to be a valid root certificate in the chain. But the example I'm trying to show is evident without doing that.

##Create new cert from RootCA
New-SelfSignedCertificate -Type Custom
-Subject "CN=$ReplicaServer" -KeySpec KeyExchange
-CertStoreLocation Cert:\LocalMachine\My -KeyExportPolicy Exportable
-TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2") -Signer "Cert:LocalMachine\My\$($Cert.Thumbprint)"
-Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" `
-NotAfter (Get-Date -Date "12/31/2039 18:59:59")

Generates a cert with a warning icon on the "Key Usage" extension:
image

Winthreshold Parameter not explained.

In the AD DS module, many of the Cmdlets have parameters such as DomainMode and ForestMode that have a possible value of "winthreshold" and "Default". I think it would be useful if you explain the expected behavior of those. I'm not 100% positive winthreshold will default it to Server2016, and it doesn't look like that is a parameter that is explicitly possible to pick, as the highest available server value according to the documentation is 6 or "Win2012R2".

MIssing WS2016 FFL

The forest mode is missing WS2016 (value 7).

The new WS2019 does not have a new DFL, when you get to that doc.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

iscsi-virtualdisk - defaults to dynamic vhdx?

Hi,

https://docs.microsoft.com/en-us/powershell/module/iscsitarget/new-iscsivirtualdisk (New-IscsiVirtualDisk) examples 1 and 3 state that the example commands as written create fixed virtual disks, but the existence and description of the -UseFixed parameter strongly suggest that the default is a dynamic disk, and an experiment seems to verify this. Are the examples just missing the parameter, or is there something more complicated going on?

thanks

Martin

get-help get-smbshare -examples

example 2 (incorrectly) says

"Get-SmbShare –Name VMS1 --- retrieves the SMB shares on the computer named VMS1."

the -name switch is for the name of the share, not the name of a remote computer.

Linting rules

Since the CONTRIBUTING guidelines suggest using VSCode for MarkDown editing, and the VSCode MarkDown page calls out the markdownlint extension, markdownlint, it seemed that adding linting rules, etc. would be a good idea.

Requirements would be:

  1. Decide on desired rules Rules
  2. Add appropriately configured .markdownlint.json in root of project
  3. Update contrib guidelines
  4. Apply linting rules to existing markdown files.

Help

I've been learning powershell. I would like to help my company automate much of the work we do. I see you can give a "principal" for the security context of the task. I've been reading this is a CIM object.

My feedback is -- It would be nice to have a link that explains how to set your security context/principal.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

problem with Link

Hi all
markdown File when we ahve un link to an other cmdlet the link don't work because the link inside the file is ./Get-gpo in the markdown file but the filename is get-gpo.md case sensitive. . .

For test Open the file get-gpo and test the link remove-gpo it don't work because ine the file get-gpo.md the link to remove-gpo is ./Remove-gpo and we have an error 404 file not found.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.