#living in a 32 bit universe #starting PowerShell 'sysnative' version and thus 64 bit #more info: https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187(v=vs.85).aspx $ClusterNodes = .$env:windir\sysnative\WindowsPowerShell\v1.0\powershell.exe { #living in a 64 bit universe Get-ClusterNode -Cluster clustername }
Thursday, December 14, 2017
PowerShell: Encapsulate 64 bit cmdlet in a 32 bit context
Found a rather old but nice tip from Neil Peterson to tackle a challenge executing Powershell 64 bit cmdlets from a 32 bit execution context (Orchestrator in his example).
Just wanted to share this and add it to my own blog for enhancing my toolbox.
Labels:
Code,
Orchestrator,
PowerShell
Subscribe to:
Post Comments (Atom)
0 reacties:
Post a Comment