
**********************
Windows PowerShell transcript start
Start time: 20151020113746
Username  : ONS\igbina
Machine	  : ONS16359 (Microsoft Windows 7 Enterprise  6.1.7601 Service Pack 1)
**********************
Transcript started, output file is \\ndata11\igbina$\My Documents\PowerShell_transcript.20151020113746.txt

PS C:\Scripts> C:\Scripts\Modules\transcript.psm1


Name                 : Mailbox Database 1539870071\FA1RVWAPXX398
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWAPXX398
ActiveCopy           : True

Name                 : DB3\FA1RVWMSXX465
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX465
ActiveCopy           : True

Name                 : DB4\FA1RVWMSXX465
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX470
ActiveCopy           : False

Name                 : DB5\FA1RVWMSXX466
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX466
ActiveCopy           : True

Name                 : DB6\FA1RVWMSXX466
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX471
ActiveCopy           : False

Name                 : DB7\FA1RVWMSXX467
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX467
ActiveCopy           : True

Name                 : DB8\FA1RVWMSXX467
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX472
ActiveCopy           : False

Name                 : DB9\FA1RVWMSXX468
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX468
ActiveCopy           : True

Name                 : DB10\FA1RVWMSXX468
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX473
ActiveCopy           : False

Name                 : DB2\NP3RVWMSXX469
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX469
ActiveCopy           : True

Name                 : DB1\NP3RVWMSXX469
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX464
ActiveCopy           : False

Name                 : DB8\NP3RVWMSXX472
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX472
ActiveCopy           : True

Name                 : DB7\NP3RVWMSXX472
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX467
ActiveCopy           : False

Name                 : DB4\NP3RVWMSXX470
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX470
ActiveCopy           : True

Name                 : DB3\NP3RVWMSXX470
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX465
ActiveCopy           : False

Name                 : DB6\NP3RVWMSXX471
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX471
ActiveCopy           : True

Name                 : DB5\NP3RVWMSXX471
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX466
ActiveCopy           : False

Name                 : DB10\NP3RVWMSXX473
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX473
ActiveCopy           : True

Name                 : DB9\NP3RVWMSXX473
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX468
ActiveCopy           : False

Name                 : DB1\FA1RVWMSXX464
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX464
ActiveCopy           : True

Name                 : DB2\FA1RVWMSXX464
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX469
ActiveCopy           : False



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
dag.htm : The term 'dag.htm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the 
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ dag.htm
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (dag.htm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Out-File : Cannot validate argument on parameter 'Encoding'. The argument "c:\scripts\output\dag.htm" does not belong to the set 
"unknown,string,unicode,bigendianunicode,utf8,utf7,utf32,ascii,default,oem" specified by the ValidateSet attribute. Supply an argument that is in 
the set and then try the command again.
At line:1 char:112
+ ... output\dag.htm c:\scripts\output\dag.htm
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Out-File], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.OutFileCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Out-File : Cannot validate argument on parameter 'OutVariable'. Cannot validate argument 'c:\scripts\output\dag.htm' because it is not a valid 
variable name.
At line:1 char:125
+ ... m -OutVariable c:\scripts\output\dag.htm
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Out-File], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.OutFileCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatStartData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power....GroupStartData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...FormatEntryData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...at.GroupEndData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
out-file : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input 
and its properties do not match any of the parameters that take pipeline input.
At line:1 char:77
+ Get-MailboxDatabaseCopyStatus * | fl name, activationpreference , active* | out- ...
+                                                                             ~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...t.FormatEndData:PSObject) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.OutFileCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Out-File : A parameter cannot be found that matches parameter name 'Invoke-item'.
At line:1 char:112
+ ... output\dag.htm -Invoke-item c:\scripts\output\dag.htm
+                    ~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Out-File], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.OutFileCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1


Name                 : Mailbox Database 1539870071\FA1RVWAPXX398
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWAPXX398
ActiveCopy           : True

Name                 : DB3\FA1RVWMSXX465
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX465
ActiveCopy           : True

Name                 : DB4\FA1RVWMSXX465
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX470
ActiveCopy           : False

Name                 : DB5\FA1RVWMSXX466
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX466
ActiveCopy           : True

Name                 : DB6\FA1RVWMSXX466
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX471
ActiveCopy           : False

Name                 : DB7\FA1RVWMSXX467
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX467
ActiveCopy           : True

Name                 : DB8\FA1RVWMSXX467
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX472
ActiveCopy           : False

Name                 : DB9\FA1RVWMSXX468
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX468
ActiveCopy           : True

Name                 : DB10\FA1RVWMSXX468
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX473
ActiveCopy           : False

Name                 : DB2\NP3RVWMSXX469
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX469
ActiveCopy           : True

Name                 : DB1\NP3RVWMSXX469
ActivationPreference : 1
ActiveDatabaseCopy   : FA1RVWMSXX464
ActiveCopy           : False

Name                 : DB8\NP3RVWMSXX472
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX472
ActiveCopy           : True

Name                 : DB7\NP3RVWMSXX472
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX467
ActiveCopy           : False

Name                 : DB4\NP3RVWMSXX470
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX470
ActiveCopy           : True

Name                 : DB3\NP3RVWMSXX470
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX465
ActiveCopy           : False

Name                 : DB6\NP3RVWMSXX471
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX471
ActiveCopy           : True

Name                 : DB5\NP3RVWMSXX471
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX466
ActiveCopy           : False

Name                 : DB10\NP3RVWMSXX473
ActivationPreference : 1
ActiveDatabaseCopy   : NP3RVWMSXX473
ActiveCopy           : True

Name                 : DB9\NP3RVWMSXX473
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX468
ActiveCopy           : False

Name                 : DB1\FA1RVWMSXX464
ActivationPreference : 2
ActiveDatabaseCopy   : FA1RVWMSXX464
ActiveCopy           : True

Name                 : DB2\FA1RVWMSXX464
ActivationPreference : 2
ActiveDatabaseCopy   : NP3RVWMSXX469
ActiveCopy           : False



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Out-File : Cannot validate argument on parameter 'Encoding'. The argument "Invoke-expression" does not belong to the set "unknown,string,unicode,bigendianunicode,utf8,utf7,utf32,ascii,default,oem" specified by the 
ValidateSet attribute. Supply an argument that is in the set and then try the command again.
At line:1 char:129
+ ... tput\dag2.htm  Invoke-expression c:\scripts\output\dag2.htm
+                    ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Out-File], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.OutFileCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Missing closing '}' in statement block.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingEndCurlyBrace
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Get-MailboxDatabaseCopyStatus * | ft name, activationpreference , active* |ConvertTo-Html| out-file c:\scripts\output\dag2.htm  
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Invoke-Item : Cannot find path 'C:\Scripts\Output\dags.htm' because it does not exist.
At line:1 char:1
+ Invoke-Item C:\Scripts\Output\dags.htm
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Scripts\Output\dags.htm:String) [Invoke-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.InvokeItemCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Send-MailMessage : The function requested is not supported
At C:\Scripts\Get-DAGHealth.ps1:1079 char:4
+             Send-MailMessage @smtpsettings -Body $htmlreport -BodyAsHtml -Encoding ([Syst ...
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException
    + FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Send-MailMessage : The function requested is not supported
At C:\Scripts\Test-ExchangeServerHealth.ps1:2099 char:4
+             Send-MailMessage @smtpsettings -Body $htmlreport -BodyAsHtml -Encoding ([Syst ...
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException
    + FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
An empty pipe element is not allowed.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : EmptyPipeElement
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
An empty pipe element is not allowed.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : EmptyPipeElement
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
An empty pipe element is not allowed.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : EmptyPipeElement
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1


Subject      : CN=oa.ons.gov.uk, OU=IM Services, O=Office for National Statistics, L=Newport, S=South Wales, C=GB
Issuer       : CN=ONS-ISS-CA-02, DC=Ons, DC=Statistics, DC=gov, DC=uk
Thumbprint   : EF5DF3D34F673BC55B747A57D4030A270659F559
FriendlyName : 
NotBefore    : 09/06/2015 11:29:31
NotAfter     : 08/06/2017 11:29:31
Extensions   : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid...}

Subject      : CN=Microsoft Exchange Server Auth Certificate
Issuer       : CN=Microsoft Exchange Server Auth Certificate
Thumbprint   : 3E532C85502E06E48AE325D55E5C1F2022B067F0
FriendlyName : 
NotBefore    : 19/05/2015 10:30:34
NotAfter     : 22/04/2020 10:30:34
Extensions   : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid}

Subject      : CN=FA1RVWAPXX398
Issuer       : CN=FA1RVWAPXX398
Thumbprint   : F26B702BD036E638347B6ADBC30A837C78252FD9
FriendlyName : 
NotBefore    : 19/05/2015 10:27:53
NotAfter     : 19/05/2020 10:27:53
Extensions   : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid}

Subject      : CN=WMSvc-FA1RVWAPXX398
Issuer       : CN=WMSvc-FA1RVWAPXX398
Thumbprint   : D8CA245E47826B35786FCA244376A09DEB17441C
FriendlyName : 
NotBefore    : 18/05/2015 15:06:26
NotAfter     : 15/05/2025 15:06:26
Extensions   : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid}



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

SubjectName                                                                                                      Subject                                                                                                         
-----------                                                                                                      -------                                                                                                         
System.Security.Cryptography.X509Certificates.X500DistinguishedName                                              CN=oa.ons.gov.uk, OU=IM Services, O=Office for National Statistics, L=Newport, S=South Wales, C=GB              
System.Security.Cryptography.X509Certificates.X500DistinguishedName                                              CN=Microsoft Exchange Server Auth Certificate                                                                   
System.Security.Cryptography.X509Certificates.X500DistinguishedName                                              CN=FA1RVWAPXX398                                                                                                
System.Security.Cryptography.X509Certificates.X500DistinguishedName                                              CN=WMSvc-FA1RVWAPXX398                                                                                          


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Send-MailMessage : The function requested is not supported
At C:\Scripts\Get-DAGHealth.ps1:1079 char:4
+             Send-MailMessage @smtpsettings -Body $htmlreport -BodyAsHtml -Encoding ([Syst ...
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException
    + FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Read-Host : A positional parameter cannot be found that accepts argument 'Get-Process'.
At line:1 char:16
+ $processName = Read-Host -Prompt "What is the process name?" Get-Process $proces ...
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Read-Host], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.ReadHostCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Get-Process : Cannot find a process with the name "alberto". Verify the process name and call the cmdlet again.
At line:1 char:1
+ Get-Process $processName
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (alberto:String) [Get-Process], ProcessCommandException
    + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Get-Process : Cannot find a process with the name "date". Verify the process name and call the cmdlet again.
At line:1 char:1
+ Get-Process $processName
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (date:String) [Get-Process], ProcessCommandException
    + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                                                                                                                                                            
-------  ------    -----      ----- -----   ------     -- -----------                                                                                                                                                            
    437      30     6944      17688   126     2.95   4888 AdobeARM                                                                                                                                                               
     61       8     1612       9468    40            1848 AESTSr64                                                                                                                                                               
    172      20     3880      12232    58             956 AgentService                                                                                                                                                           
     74      12     3076      12688    78    27.86   4048 ApMsgFwd                                                                                                                                                               
     82      12     2940      13624    78     0.11   5108 ApntEx                                                                                                                                                                 
    140      15     3380      14972    90     6.35   4212 Apoint                                                                                                                                                                 
     71       9     1364       8604    43            1828 armsvc                                                                                                                                                                 
    130      10    16420      16600    69     0.47   5320 audiodg                                                                                                                                                                
    702      38    20172      22880   152            2508 CcmExec                                                                                                                                                                
    178      22    33908      41356   238     1.12    692 chrome                                                                                                                                                                 
    156      19    22020      34252   205     0.62   1200 chrome                                                                                                                                                                 
    286      37   129172      89244   368   334.20   1252 chrome                                                                                                                                                                 
    217      23    29616      62524   324     2.70   1860 chrome                                                                                                                                                                 
    262      29    87548      81600   465    48.38   3264 chrome                                                                                                                                                                 
    149      22    53464      53396   178     0.39   3944 chrome                                                                                                                                                                 
   1808      89   116388     113212   445   346.07   4204 chrome                                                                                                                                                                 
    282      39   161632     164116   497   576.25   4400 chrome                                                                                                                                                                 
    172      23    49180      55704   251     4.98   4968 chrome                                                                                                                                                                 
    508      43    49244     413632   860    29.16   5296 chrome                                                                                                                                                                 
    169      22    32776      42368   241   513.31   6200 chrome                                                                                                                                                                 
    115      16    22936      36832   150     0.33   6336 chrome                                                                                                                                                                 
    419      45    97092     402500   645    38.98   6808 chrome                                                                                                                                                                 
     69       8     1812        220    41            1884 CISVC                                                                                                                                                                  
     40       7     1364       9664    41            1220 conhost                                                                                                                                                                
     40       7     1364       9932    41            1440 conhost                                                                                                                                                                
     56       8     1924       5436    79     0.14   1952 conhost                                                                                                                                                                
     52       8     1860      11300    78     0.03   4516 conhost                                                                                                                                                                
    814      14     2132       6644    50             428 csrss                                                                                                                                                                  
    804      24    11128      74260   273             488 csrss                                                                                                                                                                  
    293      26    10380      19528    98            2216 CTskMstr                                                                                                                                                               
    400      22    10560      15440   121            1284 DisplayLinkManager                                                                                                                                                     
    130      11     3500      14296    87            1372 DisplayLinkUserAgent                                                                                                                                                   
    149      23   107492      55104   284   563.29   3664 dwm                                                                                                                                                                    
    235      30    19688      23700   148     5.02   4676 epui                                                                                                                                                                   
    941      81    45584      74188   292    78.56   3736 explorer                                                                                                                                                               
    135      14     2368      12692    62            1576 GoogleUpdate                                                                                                                                                           
    450      33    12800      19100   114            3512 GravitixService                                                                                                                                                        
     68      10     2608      12620    73     0.05   5092 hidfind                                                                                                                                                                
    177      17     4012      14972   109     1.05   4240 hkcmd                                                                                                                                                                  
      0       0        0         24     0               0 Idle                                                                                                                                                                   
    617     103    76752      81064   333   171.07   2068 iexplore                                                                                                                                                               
    624      62    11348      47764   186    34.91   4336 iexplore                                                                                                                                                               
    495      48    35452      28272   201     3.54   5360 iexplore                                                                                                                                                               
    101      13     3260      12604    81     0.19   4248 igfxpers                                                                                                                                                               
     85      12     3484      11284    73     0.09   4224 igfxtray                                                                                                                                                               
     65      10     1984      11772    47            1960 lmagent                                                                                                                                                                
    819      60   411596     239260   874            1128 lmhost                                                                                                                                                                 
     67      10     2844      11696    53            1268 lmhost                                                                                                                                                                 
   1151      34     8876      20180    68             604 lsass                                                                                                                                                                  
    246      12     3776      12128    50             616 lsm                                                                                                                                                                    
    257      19     6172      18248    67            1644 MBAMAgent                                                                                                                                                              
    177      15     3376      14312    89     0.36   4348 mobsync                                                                                                                                                                
    394      64   114580     106532   372    23.87   5836 nlnotes                                                                                                                                                                
   1025     122   179276     187372  1364   162.02   4468 notes2                                                                                                                                                                 
    368      34    74400      25880   255     2.12   4724 NotificationManager                                                                                                                                                    
     79      10    11508       9956    83            1496 nsd                                                                                                                                                                    
    210      24    29372       3696   213    36.25   3948 ntaskldr                                                                                                                                                               
     69       8     1356       8756    63            2104 ntmulti                                                                                                                                                                
   3240      86   106300     166492   646   137.97   4280 OUTLOOK                                                                                                                                                                
    721      76   374488     398852  1001   230.76   6580 powershell_ise                                                                                                                                                         
    126      17     4476      13084    83     7.29   4900 PSClientTray                                                                                                                                                           
   1436      61    67652     105496   314   125.16    752 RDTabs                                                                                                                                                                 
    301     106    10488      18188   119            2324 scomc                                                                                                                                                                  
    110      10     3108       7112    51            2552 SearchFilterHost                                                                                                                                                       
    983      65    46348      35388   180            4772 SearchIndexer                                                                                                                                                          
    262      15     3536      10344    94     0.27   5072 SearchProtocolHost                                                                                                                                                     
    305      17     8008      16376    79             544 services                                                                                                                                                               
     30       1      440       1456     4             320 smss                                                                                                                                                                   
    422      31    12992      26852   118            1592 spoolsv                                                                                                                                                                
    171      12     8708      15600    62             360 stacsv64                                                                                                                                                               
    134      14     7884      14232   101     0.16   4296 sttray64                                                                                                                                                               
     81       9     1464       9660    69            1160 SUService                                                                                                                                                              
    398      15     4472      14432    64             724 svchost                                                                                                                                                                
    442      19     7804      17616    68             804 svchost                                                                                                                                                                
    569      28    24692      24136   114             868 svchost                                                                                                                                                                
    857      37   171616     169392   312             988 svchost                                                                                                                                                                
   2243      56    42140      53552   469            1012 svchost                                                                                                                                                                
    254      18     7680      20256    72            1064 svchost                                                                                                                                                                
    434      29     9628      19200    89            1096 svchost                                                                                                                                                                
    654      38    13404      20680   136            1444 svchost                                                                                                                                                                
    239      22     4560      13712    70            1620 svchost                                                                                                                                                                
    317      35    14028      16996    89            1648 svchost                                                                                                                                                                
     99      12     2836      10696    50            1788 svchost                                                                                                                                                                
    315      22     8456      17684    97            1916 svchost                                                                                                                                                                
   2062       0      112        304     3               4 System                                                                                                                                                                 
     95      10     2244      10960    48            3216 taskeng                                                                                                                                                                
     99      12     3292       8152    72     0.11   6964 taskeng                                                                                                                                                                
    241      23     9292      18152   109     0.84   3112 taskhost                                                                                                                                                               
    228      38    66932      49760   686     1.23   4312 UevTrayApp                                                                                                                                                             
     88      10     2564      17712   100            2776 UI0Detect                                                                                                                                                              
     70       8     1792      11360    44            3204 unsecapp                                                                                                                                                               
    283      29     6540      18500    93            1380 vpnagent                                                                                                                                                               
    398      34     8336      18720   133     1.87   4868 vpnui                                                                                                                                                                  
     94      12     1988      14248    67             480 wininit                                                                                                                                                                
    121      11     3340      12384    73             576 winlogon                                                                                                                                                               
    156      17     7904      13224    63            2556 WmiPrvSE                                                                                                                                                               
    237      18    10428      20772    74            3248 WmiPrvSE                                                                                                                                                               
    124      12     5344      12056    54            3796 WmiPrvSE                                                                                                                                                               
    265      17    10660      13412    91            3996 WmiPrvSE                                                                                                                                                               
    197      10     1996      10828    50            2240 WUDFHost                                                                                                                                                               


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                                                                                                                                                            
-------  ------    -----      ----- -----   ------     -- -----------                                                                                                                                                            
    178      22    33908      41356   238     1.12    692 chrome                                                                                                                                                                 
    156      19    22020      34252   205     0.62   1200 chrome                                                                                                                                                                 
    286      37   129172      89244   368   334.20   1252 chrome                                                                                                                                                                 
    217      23    29616      62524   324     2.70   1860 chrome                                                                                                                                                                 
    262      29    87548      81600   465    48.38   3264 chrome                                                                                                                                                                 
    149      22    53468      53400   178     0.41   3944 chrome                                                                                                                                                                 
   1809      89   116440     113232   446   346.21   4204 chrome                                                                                                                                                                 
    282      39   161576     164088   496   576.25   4400 chrome                                                                                                                                                                 
    172      23    49180      55712   251     4.98   4968 chrome                                                                                                                                                                 
    508      43    49244     413632   860    29.16   5296 chrome                                                                                                                                                                 
    169      22    32776      42368   241   513.31   6200 chrome                                                                                                                                                                 
    115      16    22936      36832   150     0.33   6336 chrome                                                                                                                                                                 
    419      45    97144     402528   647    39.17   6808 chrome                                                                                                                                                                 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                                                                                                                                                            
-------  ------    -----      ----- -----   ------     -- -----------                                                                                                                                                            
    178      22    33908      40912   238     1.12    692 chrome                                                                                                                                                                 
    156      19    22020      34120   205     0.62   1200 chrome                                                                                                                                                                 
    286      37   129172      89192   368   334.20   1252 chrome                                                                                                                                                                 
    217      23    29616      62408   324     2.70   1860 chrome                                                                                                                                                                 
    262      29    87548      79512   465    48.38   3264 chrome                                                                                                                                                                 
    149      22    53468      53400   178     0.41   3944 chrome                                                                                                                                                                 
   1834      90   116492     111384   447   346.88   4204 chrome                                                                                                                                                                 
    282      39   161576     163940   496   576.25   4400 chrome                                                                                                                                                                 
    172      23    49180      55660   251     4.99   4968 chrome                                                                                                                                                                 
    508      43    49244     411596   860    29.16   5296 chrome                                                                                                                                                                 
    169      22    32776      42108   241   513.31   6200 chrome                                                                                                                                                                 
    115      16    22936      36064   150     0.33   6336 chrome                                                                                                                                                                 
    419      45    97240     402628   647    39.27   6808 chrome                                                                                                                                                                 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Get-Process : Cannot find a process with the name "rdtab". Verify the process name and call the cmdlet again.
At line:1 char:1
+ Get-Process $processName
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (rdtab:String) [Get-Process], ProcessCommandException
    + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                                                                                                                                                            
-------  ------    -----      ----- -----   ------     -- -----------                                                                                                                                                            
   1438      62    67704     102184   315   125.67    752 RDTabs                                                                                                                                                                 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                                                                                                                                                            
-------  ------    -----      ----- -----   ------     -- -----------                                                                                                                                                            
   1436      62    67832     102280   314   126.11    752 RDTabs                                                                                                                                                                 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                                                                                                                                                            
-------  ------    -----      ----- -----   ------     -- -----------                                                                                                                                                            
   1436      61    67676     102184   314   126.25    752 RDTabs                                                                                                                                                                 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Get-Process : Cannot bind parameter 'WarningAction'. Cannot convert value "Continued" to type "System.Management.Automation.ActionPreference". Error: "Unable to match the identifier name Continued to a valid enumerator name. 
 Specify one of the following enumerator names and try again: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend"
At line:1 char:41
+ Get-Process $processName -WarningAction Continued
+                                         ~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Process], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.GetProcessCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                                                                                                                                                            
-------  ------    -----      ----- -----   ------     -- -----------                                                                                                                                                            
   1436      61    67664     102196   314   126.28    752 RDTabs                                                                                                                                                                 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot display the prompt for "Identity" because type "Microsoft.Exchange.Configuration.Tasks.DistributionGroupMemberIdParameter" cannot be loaded.
    + CategoryInfo          : ResourceUnavailable: (:) [], PromptingException
    + FullyQualifiedErrorId : System.Management.Automation.Host.PromptingException
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot display the prompt for "Identity" because type "Microsoft.Exchange.Configuration.Tasks.DistributionGroupMemberIdParameter" cannot be loaded.
    + CategoryInfo          : ResourceUnavailable: (:) [], PromptingException
    + FullyQualifiedErrorId : System.Management.Automation.Host.PromptingException
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                                                                                             RecipientType                                                                                                   
----                                                                                                             -------------                                                                                                   
Domino_Group_Administrators                                                                                      MailContact                                                                                                     


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The operation couldn't be performed because object 'outlook_feedback' couldn't be found on 'FA1RPONSDC001.Ons.Statistics.gov.uk'.
    + CategoryInfo          : NotSpecified: (:) [Remove-DistributionGroupMember], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=e12d9fb3-4405-4d61-80ff-788987e0a9e3,TimeStamp=21/10/2015 09:41:38] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 88416878,Microsoft.Exchange.Managem 
   ent.RecipientTasks.RemoveDistributionGroupMember
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Import-module : The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory.
At C:\Scripts\AddMembertoDistribution.ps1:12 char:1
+ Import-module ActiveDirectory
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
 
Import-CSV : Could not find file 'C:\Scripts\Users.csv'.
At C:\Scripts\AddMembertoDistribution.ps1:30 char:19
+ $MultipleMember = Import-CSV "C:\Scripts\Users.csv" | Select-Object -ExpandPrope ...
+                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (:) [Import-Csv], FileNotFoundException
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.ImportCsvCommand
 
A parameter cannot be found that matches parameter name 'Members'.
    + CategoryInfo          : InvalidArgument: (:) [Add-DistributionGroupMember], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Add-DistributionGroupMember
    + PSComputerName        : fa1rvwapxx398
 




Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Import-module : The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory.
At C:\Scripts\AddMembertoDistribution.ps1:12 char:1
+ Import-module ActiveDirectory
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
 
A parameter cannot be found that matches parameter name 'Members'.
    + CategoryInfo          : InvalidArgument: (:) [Add-DistributionGroupMember], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Add-DistributionGroupMember
    + PSComputerName        : fa1rvwapxx398
 




Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
A parameter cannot be found that matches parameter name 'Members'.
    + CategoryInfo          : InvalidArgument: (:) [Add-DistributionGroupMember], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Add-DistributionGroupMember
    + PSComputerName        : fa1rvwapxx398
 




Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
A parameter cannot be found that matches parameter name 'Members'.
    + CategoryInfo          : InvalidArgument: (:) [Add-DistributionGroupMember], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Add-DistributionGroupMember
    + PSComputerName        : fa1rvwapxx398
 




Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1




Name : Alberto Igbinedion

Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1


Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1




Name : Alberto Igbinedion

Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The operation couldn't be performed because object 'outlook_feedback' couldn't be found on 'FA1RPONSDC001.Ons.Statistics.gov.uk'.
    + CategoryInfo          : NotSpecified: (:) [Remove-DistributionGroupMember], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=d692987d-6651-40aa-93a9-cdef307dcafd,TimeStamp=21/10/2015 10:03:43] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 88416878,Microsoft.Exchange.Managem 
   ent.RecipientTasks.RemoveDistributionGroupMember
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1




Name : Alberto Igbinedion

Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1




Name : Alberto Igbinedion

Name : Domino_Group_Administrators



PS C:\Scripts> C:\Scripts\Modules\transcript.psm1




User         : NT AUTHORITY\SELF
AccessRights : {FullAccess, ReadPermission}

User         : ONS\igbina
AccessRights : {FullAccess}

User         : ONS\laker2_admin
AccessRights : {FullAccess}

User         : STATISTICS\Domain Admins
AccessRights : {FullAccess}

User         : STATISTICS\Enterprise Admins
AccessRights : {FullAccess}

User         : STATISTICS\Organization Management
AccessRights : {FullAccess}

User         : NT AUTHORITY\SYSTEM
AccessRights : {FullAccess}

User         : NT AUTHORITY\NETWORK SERVICE
AccessRights : {ReadPermission}

User         : ONS\laker2_admin
AccessRights : {FullAccess, DeleteItem, ReadPermission, ChangePermission, ChangeOwner}

User         : STATISTICS\Domain Admins
AccessRights : {FullAccess, DeleteItem, ReadPermission, ChangePermission, ChangeOwner}

User         : STATISTICS\Enterprise Admins
AccessRights : {FullAccess, DeleteItem, ReadPermission, ChangePermission, ChangeOwner}

User         : STATISTICS\Organization Management
AccessRights : {FullAccess, DeleteItem, ReadPermission, ChangePermission, ChangeOwner}

User         : STATISTICS\Public Folder Management
AccessRights : {ReadPermission}

User         : STATISTICS\Delegated Setup
AccessRights : {ReadPermission}

User         : STATISTICS\Exchange Servers
AccessRights : {FullAccess, ReadPermission}

User         : STATISTICS\Exchange Trusted Subsystem
AccessRights : {FullAccess, DeleteItem, ReadPermission, ChangePermission, ChangeOwner}

User         : STATISTICS\Managed Availability Servers
AccessRights : {ReadPermission}



