< Back

Get-AxServerXppILHash

Sat Jan 11, 2020 8:13 am

NAME Get-AxServerXppILHash



SYNOPSIS

Get hash values for XppIL files





SYNTAX

Get-AxServerXppILHash [[-InstanceName] <String>] [[-OutputPath] <String>] [[-FileName] <String>]

[<CommonParameters>]





DESCRIPTION

Generate the file hash values for each *.netmodule & *.dll file in the XppIL folder





PARAMETERS

-InstanceName <String>

Name of the instance that you are working against



Default value can be configured with the Set-AxActiveAosConfig cmdlet



Required? false

Position? 1

Default value $Script:ActiveAosInstancename

Accept pipeline input? false

Accept wildcard characters? false



-OutputPath <String>

Path to the folder where the output file must be saved



Default value is: "C:\\temp\\ax2012.tools"



Required? false

Position? 2

Default value $Script:DefaultTempPath

Accept pipeline input? false

Accept wildcard characters? false



-FileName <String>

Name of the output as you want it to be named



If left empty the output file will be named based on the following pattern:

"SERVERNAME_INSTANCENAME_XppIL_HashValue.txt"



Required? false

Position? 3

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





Tags: XppIL, Hash, Files



Author: M??????tz Jensen (@Splaxi)



All credits goes to Kenneth Madsen (@KennethGrupp) for providing detailed examples on how to achieve this the

best way using powershell



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



PS C:\\>Get-AxServerXppILHash -InstanceName "AXTEST"



This will generate the file hash values for the XppIL files for the AXTEST AOS Instance.

It will work against the Instance AXTEST.

It will save the output file to the default folder location "C:\\temp\\ax2012.tools".

The file will named "SERVER_AXTEST_XppIL_HashValues.txt"









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-AxServerXppILHash



This will generate the file hash values for the XppIL files for the default AOS Instance.

It will work against the default AOS Instance that has been configured with Set-AxActiveAosConfig.

It will save the output file to the default folder location "C:\\temp\\ax2012.tools".

The file will named "SERVER_INSTANCENAME_XppIL_HashValues.txt"



The default value of the instance name can be configured with the Set-AxActiveAosConfig cmdlet.











RELATED LINKS