Differences between revisions 5 and 6
Revision 5 as of 2020-08-13 21:12:41
Size: 1066
Editor: PieterSmit
Comment:
Revision 6 as of 2020-08-16 22:05:15
Size: 1463
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
   * Load context {{{
foreach($server in (get-content 'C:\Downloads\pilot_dev_servers.txt')){Get-ADComputer -Identity $server | select -ExpandProperty DistinguishedName}
}}}
Line 4: Line 8:
 * e.g. get-content missing, search https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Management/Get-Content?view=powershell-7
   * its in {{{ Import-Module Microsoft.PowerShell.Management }}}

Windows/PowerShell Notes

  • Load context

    foreach($server in (get-content 'C:\Downloads\pilot_dev_servers.txt')){Get-ADComputer -Identity $server | select -ExpandProperty DistinguishedName}

Missing powershell commands

Windows/PowerShell (last edited 2022-01-26 21:34:01 by PieterSmit)