< Back

Set-FutureList

Wed Jul 15, 2020 5:53 pm

NAME
Set-FutureList

SYNOPSIS
Sets the Active Directory attributes for lodging.


SYNTAX
Set-FutureList -Path <System.IO.FileInfo> [-Force <switch>] [<CommonParameters>]

Set-FutureList -Path <System.IO.FileInfo> [-Logding <switch>] [-Force <switch>] [<CommonParameters>]

Set-FutureList -Path <System.IO.FileInfo> [-Operations <switch>] [-Force <switch>] [<CommonParameters>]

Set-FutureList -Path <System.IO.FileInfo> [-WorkPhone <switch>] [-Force <switch>] [<CommonParameters>]

Set-FutureList -Path <System.IO.FileInfo> [-Pager <switch>] [-Force <switch>] [<CommonParameters>]


DESCRIPTION
This function references a Excel document generated by Get-FutureRoom and updates Active Directory attributes that are listed in that document.


PARAMETERS
-Path <System.IO.FileInfo>
Path to the Excel document created by Get-FutureRoom.

Required? true
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Logding [<switch>]
Set the attributes for Lodging.

Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Operations [<switch>]
Set the attributes for Operations.

Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WorkPhone [<switch>]
Set the attributes for work phones.

Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Pager [<switch>]
Set the attributes for pagers.

Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Force [<switch>]
Force

Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES


Requires the module ImportExcel (By Douglas Finke) and Active Directory
Install-Module -Name ImportExcel

===========================================================================
Created on: 8/16/2019 4:57 PM
Created by: Craig Moore (McMurdo Sr Systems Administrator)
Organization: United States Antarctic Program
Filename: Set-FutureList.ps1
===========================================================================

-------------------------- EXAMPLE 1 --------------------------

PS C:\> Set-FutureList -Path 'C:\Temp\List.xlsx'

Updates the Active Directory attributes defined in C:\Temp\List.xlsx

RELATED LINKS