Snippets/Information/OperatingSystem/is64bit.snippets.ps1xml

<?xml version='1.0' encoding='utf-8' ?>
    <Snippets xmlns='http://schemas.microsoft.com/PowerShell/Snippets'>
        <Snippet Version='1.0.0'>
            <Header>
                <Title>Test OS Architecture</Title>
                <Description>tests whether the operating system is 64bit</Description>
                <Shortcut></Shortcut>
                <Keywords>Editor,Console</Keywords>
                <Author>Tobias Weltner</Author>
                <DifficultyLevel>4</DifficultyLevel>
                <Example>False</Example>
                <SnippetTypes>
                    <SnippetType>Expansion</SnippetType>
                </SnippetTypes>
                <Requirements>
                    <MinimumPowerShellVersion>1</MinimumPowerShellVersion>
                    <RequiredModules></RequiredModules>
                    <AdminPrivileges>False</AdminPrivileges>
                    <ProcessorArchitecture>x86,x64</ProcessorArchitecture>
                </Requirements>
            </Header>
 
            <Code>
                <Script Language='PowerShell' CaretOffset='37'>
                    <![CDATA[[Environment]::Is64BitOperatingSystem]]>
                </Script>
            </Code>
 
    </Snippet>
</Snippets>