windows-powershell-docs
windows-powershell-docs copied to clipboard
This repo is used to contribute to Windows 10, Windows Server 2016, and MDOP PowerShell module documentation.
Modified the EffectiveTime parameter example, to include a day larger than 12. This should prevent confusion over the format to use (recommended as the American mm/dd/yyyy format, however any format...
changing description to clarify that there is no default value for -profile argument
The current docs say, except for Server 2019, that you can specify a path for the -FileName parameter. With the actual cmdlet, it is not the case.
Added note to -Country to specify the use of the ISO-3166 2 character country code & linked to AD Schema definition.
as per user report #2943, so i removed Technet link and added docs.microsoft.com link **https://docs.microsoft.com/previous-versions/windows/it-pro/windows-8.1-and-8/jj131725(v=ws.11)?redirectedfrom=MSDN**
Changed add to remove in the -MemberOf section.
As it was, it has misled many engineers down an unnecessary and confusing path.
Remove-IscsiTargetPortal does not work as documented with the TargetPortalPortNumber parameter. PS C:\Users\Administrator> Remove-IscsiTargetPortal -TargetPortalAddress 192.168.130.101 -TargetPortalPortNumber 49152 -Confirm:$false Remove-IscsiTargetPortal : Type mismatch for parameter "TargetPortalPortNumber" At line:1 char:1 + Remove-IscsiTargetPortal...
Looks like the Example is missing a line break! $creds = Get-Credential New-SmbGlobalMapping -RemotePath \\fs1.contoso.com\public -Credential $creds -LocalPath G: Status Local Path Remote Path ------ ---------- ----------- OK G: \\fs1.contoso.com\public...